The stop command needs remote jmx access to the broker. Make sure you
set the SUNJMX variable to the following in the activemq shell script:
SUNJMX="-Dcom.sun.management.jmxremote.port=1616
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false"
On Thu, May 1
I'm getting this:
[EMAIL PROTECTED]:~/apache-activemq-5.1.0/bin> ./activemq-admin stop
ACTIVEMQ_HOME: /home/andrew/apache-activemq-5.1.0
ACTIVEMQ_BASE: /home/andrew/apache-activemq-5.1.0
ERROR: java.lang.RuntimeException: Failed to execute stop task. Reason:
java.io.IOException: Failed to