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