On Tue, Jun 9, 2009 at 11:28 AM, mrh<mrhayg...@gmail.com> wrote: > > I'm trying to disable JMX using the activemq.xml file (useJmx="false") and it > does not seem to be working. I can still connect using jconsole and the > admin webpage. Is this a bug or is there somewhere else that this must be > disabled?
To completely disable JMX in ActiveMQ, you need to edit the ActiveMQ startup script so that the com.sun.management.jmxremote property is not set. This can be done by editing the bin/activemq script so that the SUNJMX property is empty. Below are examples: Linux/Unix: SUNJMX= Windows: if "%SUNJMX%" == "" set SUNJMX= 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