Here are some hints and tricks to help you work better with m-Power:
My application is showing the wrong data.
Run the application, and then pass in debug=1 as a parameter. Alternatively, you can turn on the debug statement in the application properties. The debug statement will provide you with the SQL statement that m-Power runs on the database. You can copy this statement, and run it directly on the database. This will show you the exact data that m-Power is pulling in, as well as allow you to troubleshoot any other issues with the data.
My application is broken.
Copy the application to a new number, and build it. Run it immediately, before adding any custom work in m-Painter. Does the application work now? Often, improper painting in m-Painter can cause applications to brake. Alternatively, if your application still doesn’t work, try removing any external objects from it, and rebuild. If the application works, you can narrow down the problem to the external object.
My application is not working the way it should — OR — my m-Power is really slow.
Have you checked the Tomcat logs for errors or uncompleted queries? You can find the logs on your m-Power server, in \m-power\tomcat\logs. If you don’t have access to the server, you may want to speak to your server administrator about implementing the Tomcat Logger. The Tomcat Logger allows you to view the Tomcat logs directly in your web browser, so that once it’s installed, you won’t need to access the server again to view the logs.
I’ve made some changes in m-Power, but I’m not seeing them picked up.
Start by clearing your cache. If this doesn’t resolve the issue, completely close out your browser, and try again. Lastly, it is possible that your change requires a Tomcat restart to be picked up. Restart Tomcat, and try again.
My application works great in development, but doesn’t work in production.
Have you promoted your application properly— including promoting your web.xml file and restarting the production Tomcat? If so, it is possible that your development version of m-Power and production version of m-Power are at two different release dates. To check this, look at the date modified for the mrcapps.jar file located in \m-power\mrcjava\WEB-INF\lib. You will find this file in both production and development. Are the dates the same? If not, you most likely need to update your versions so that they are at the same release.