On Fri, May 29, 2009 at 2:45 AM, Johannes Frank <johannes.fr...@kisters.de> wrote: > > Hello I'm trying to use "activemq-admin stop" to stop a running activemq > instance (it is running, I have the other console spitting out output all > the time). I'm using the standard activemq 5.2 I downloaded from you. > However, as soon as I'm doing the stop command: the following Exception > jungle is generated:
You just need to edit the ActiveMQ startup script a bit so that JMX authentication and SSL are disabled and a port number is specified. Just make the following edits to lines 76-77 to the bin/activemq.bat script: if "%SUNJMX%" == "" set SUNJMX=-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false REM set SUNJMX=-Dcom.sun.management.jmxremote After making this quick change to the script, start up ActiveMQ again and the 'activemq-admin stop' command should work properly. Bruce -- perl -e 'print unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' ActiveMQ in Action: http://bit.ly/2je6cQ Blog: http://bruceblog.org/ Twitter: http://twitter.com/brucesnyder