activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: Can't Disable JMX?
Date Tue, 09 Jun 2009 17:48:44 GMT
On Tue, Jun 9, 2009 at 11:28 AM, mrh<mrhaygood@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)U8V4\@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

Mime
View raw message