Hello,

   I have doubt regarding this Topic.

   If bin/activemq script is modified by following lines of code:

   "if "%SUNJMX%" == "" set SUNJMX=" i.e setting the JMS property to
null.

   Then How do we Stop the broker using the command "active-admin.bat
stop hostname"?

 

Thanks and Regards

Nawaz ahmed

 

-----Original Message-----
From: Bruce Snyder [mailto:bruce.sny...@gmail.com] 
Sent: Tuesday, June 09, 2009 11:19 PM
To: users@activemq.apache.org
Subject: Re: Can't Disable JMX?

 

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

Reply via email to