The iMQ 2.0 restart command isn't doing what I want.
I have installed the imq 2.0 on solaris 8 on a single host. jmq broker
is installed by following the admin guide. When I tried to use jmqcmd
shutdown bkr. It is shutdown without any problem.Then I use
jmqcmd restart bkrto restart the jmqcmdIt comes up with the
following error:
Error while connecting to the broker.
[C4003]: Error occurred on connection creation. - caught
javax.jms.JMSException
Please verify that there is a broker running on the specified host and
port or use the '-b' option to specify the correct broker host and port.
Restarting the broker failed.
Eventhough I tried ondifferent port no on the same localhostby
typing "jmqcmd restart bkr -b localhost:1111", it is still the same
problem.
When I tried to run jmqadmin, and connect to the specified broker, it
prompts with an error box as below:
Error encountered while connecting to the broker: "MyBroker":
Broker Host: 'localhost'
Primary Port: '7676'
[C4003]: Error occurred on connection creation, - caught
javax.jms.JMSException
Please verify that there is a broker running on the specified host and
port.
It seems that the port 7676 is still engaged by the broker for some
reasons. ie. the shutdown does not free up the port.
Would somebody have any idea on what went wrong?

