mrc logo mrc logo
  • m-Power m-Power
    What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • Solutions Solutions
    What does m-Power build?
    Overview Database Front-Ends Reporting CRM Systems Business Intelligence Dashboards Inventory Management Mobile Apps ERP Enhancements Modernization Spreadsheets to the web MS Access to the web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Data Exploration Budgeting & Forecasting APIs and Web Services Db2 Web Query Alternative
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Services Services
    Development Services Training Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Support Support
    Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • m-Power Administration
  • Embedded m-Power Database
Back to Manual

Embedded m-Power Database

m-Power ships with the ability to configure an embedded m-Power database. The purpose of the embedded database is to conveniently store all m-Power related meta-data outside of your licensed database. m-Power meta-data consists of all of the specifications you make (sequencing, record selection, registered fields, synonyms, etc..) while creating m-Power applications. The embedded database resides on the same application server that houses Tomcat and will never store any of your run-time data. Benefits of the embedded database include:

  • If your licensed database is bogged down with other requests, you would not be subject to a wait during the development process as you only access the licensed database during run-time.
  • System administrators are no longer required to run their application servers on the same local network as their production database. In the past, this setup was required for optimal efficiency. However, with the advent of embedded database, the build process will not be hindered by a remote JDBC connection as the embedded database is always local to application server.
  • All of your m-Power meta-data is conveniently stored in a centralized folder. If an issue arises where tech support is needed, you could effortlessly send us your entire Data Dictionary for troubleshooting.

m-Power installs already have this feature enabled. You can verify which option you are using by navigating to Admin -> Version & Software Update.  You will either be running in new “Embedded Database mode” (which means that all of your m-Power meta-data is stored outside of your licensed database or “Licensed Database mode” (which means that your m-Power meta-data resides directly on your licensed database).

embedded_mode

As you can see in the above screenshot, I am running m-Power in the Embedded Database mode.

Frequently Asked Questions:

Q: I am running m-Power in the Embedded DB mode, where can I find my m-Power meta-data database?

A: The database can be found in /m-power/derby/bin. Here you would look for the folder that begins with mrcdb_. If you have multiple DBs licensed to m-Power, you will see the corresponding folder layout here. Please be sure to include this folder in your regularly scheduled backups.

Q: I’m confused – where exactly is my data? How do I know which database it’s on?

A: Production data is always stored on your licensed database. Production data could be defined as any data that end-users could access at run-time. m-Power meta-data, the data stored that allows the m-Power interface to function, is stored in the embedded database. This data would not need to be accessed in a production environment.

Q: I am an existing m-Power customer and am interested in using the embedded mode. What should I do?

A: The first thing you need to do is edit your mrctool.properties file, located in /m-power/proddata/conf and add “embedded=true” (without the quotes) to a new line. Save and restart Tomcat.

Next, navigate to the m-Power login screen. You’ll notice that the URL ends in MRCPS.MRC001. Please append “Convert” to the end of the URL so it reads as follows: MRCPS.MRC001Convert. Press enter.

convert_to_embedded

Press "Sign In". This process will go through all of the m-Power data dictionaries that currently reside on the data dictionary and copy them over to your embedded database. When completed, you will be promoted to sign in to continue working in m-Power.

Once signed into m-Power, navigate to Admin Menu -> System Management -> Version & Software Update -> Click 'Apply Update'. Verify this process finishes without error.

Q: I am an existing customer using a licensed database…Can I try the embedded database option and if I don’t like it, can I go back?

A: Of course. Running the convert process leaves the data on your licensed database completely untouched. If you should ever decide to go back to your licensed database, simply change the embedded option in mrctool.properties to false. Additionally, please remove/rename the database folders located in /mpower/derby/bin/mrcdb_…. Please remember to restart Tomcat. (Editor’s Note: The specifications for any applications built on the embedded database would not exist when reverting back to Licensed Database mode)

Q: I am licensed to two m-Power databases. Can I run one of them in Embedded mode and one in Licensed mode?

A: Unfortunately, this is not possible. The m-Power meta-data either must all reside on the embedded database or must all reside in the licensed database, but not both.

 

Created: May 21, 2013 | Modified: June 27, 2019

Search


Browse By Category

Build Process (13)
Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

Security Application Properties Retrievals Advanced Excel Compiling Admin Freemarker Parameters Bar Graphs Tomcat SQL Dates Data Dictionary Build Process Retrieval Prompt Screens Popular mrc-Productivity Series Database Calculations Production Java App Properties External Objects Bootstrap Templates Performance Dropdowns Administration Summaries Maintainer Graph Properties Form Validation DB2 Graphing Video Record Selections Getting Started Maintainers m-Painter Report Reports RPG Graphs Email

See all tags »

michaels, ross & cole, ltd. (mrc)

Privacy Policy Cookie Policy Cookie Settings Notice at Collection Do Not Sell or Share My Personal Information

mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566


© 2024 mrc. All rights reserved.