John Ormerod 24.Jul.09 01:07 PM Lotus Notes Toolkit6.1.1Windows XP
Hello
I am experimenting with the sample code from the 'Messaging From the Edge' wiki/red-book. When restarting a test, I keep getting an exception because an earlier instance of the broker is still running : com.ibm.micro.admin.AdminException: Only allowed to run one broker per jvm
I can see that when closing down the test client, that the stop() method of MicroBrokerSetup is processes, which deletes the broker instance. Yet, somehow it is still there. I've tried deleting the workspace before starting the test, and not deleting it.
From time to time, it runs OK, but I haven't spotted what I did to cure the problem!
I now have a concern with this situation, which is: if using MicroBroker in a real, live client, what should I do to avoid getting what appears to be a Catch-22 situation?