Consultor Eletrônico



Kbase 22121: SonicMQ: Starting Management Console if broker won't start
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/3/2003
SUMMARY:

In SonicMQ 5.0, it is possible to temporarily lock yourself out of the Management Console. This solution describes how to get access again to the Directory Service (DS) and broker as well as the Management Console.

EXPLANATION:
The general configuration in 5.0 is that there is a container which hosts the Directory Service and a single broker. When using the Management Console to connect to the DS and broker, as well as all other Sonic containers and components, the user is prompted to enter the URL of the DS broker, typically tcp://localhost:2506. However, if the default DS broker is down and needs to be re-configured to start again, you must use a different connect URL to connect to the Management Console and reconfigure the broker.

SOLUTION:

When connecting to the DS using the Management Console, enter the path to your ds.xml file. For instance, instead of entering tcp://localhost:2506
as the Connection URL, use:

c:\SonicMQ5\ds.xml

You will then be able to connect to the DS, and then reconfigure and start the broker as needed.

Note: after the broker has been restarted, EXIT management console and reconnect correctly using the broker URL. This solution should not be used for normal configuration.

Also, internally, this instantiates a Directory Service instance. Therefore, the presence of lock files due to an unclean shutdown of the container will prevent the connection from occurring until the lock files are removed.