You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Tom Samplonius <to...@samplonius.org> on 2007/07/25 04:01:11 UTC
How does activemq-admin script work?
activemq-script can't connect to my broker:
ERROR: java.lang.RuntimeException: Failed to execute list task. Reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
I assume it just not using the right port, but it seems that activemq-admin has no options to pass into a JMX URL. So what is it trying to connect to by default?
I tend to prefer to use the Sun JMX connector, rather than the one that starts by default in ActiveMQ, as I can password protect that Sun JMX connector using the appropriate defines.
Tom