Cleaning up after the applications

As with all WebSphere MQ Everyplace queue managers, registries and messages are left on the system after the queue manager has been shut down. This design allows queue managers to restart witout losing their messages or recreating all their queues and registry settings. If, one of the examples crashes on starting, the data they leave behind should automatically be removed to prevent them from being restarted with an incomplete registry. If the example does not crash, or you wish to start the queue manager from scratch, you can use the following methods to remove the registry from the system:

J2SE
The example application uses the MQeDiskFieldsAdapter, which will save registry settings to the Hard Drive. These are located in c:/MQe/QM/. Delete this directory to remove the remaining information.

MIDP
The example application uses the MQeMidpFieldsAdapter for MIDP environments. This means that the registry is stored in the record stores of the MIDlet Suite. You can remove them using the RMSclear MIDlet located in the exampleapp.messageservice package.
Note:
If you delete a MIDlet Suite from a device, its record store is also removed.


© IBM Corporation 2002. All Rights Reserved