You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by pplive <pp...@gmail.com> on 2007/08/25 17:06:19 UTC

useJMX="true"? but how to set the userName and Password ??

if not set, anybody can connect through JMX and do management....
    <managementContext>
       <managementContext connectorPort="1099"
jmxDomainName="org.apache.activemq"/>
    </managementContext>

any sample xml code ???
-- 
View this message in context: http://www.nabble.com/useJMX%3D%22true%22--but-how-to-set-the-userName-and-Password----tf4328233s2354.html#a12326821
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: useJMX="true"? but how to set the userName and Password ??

Posted by Tom Samplonius <to...@samplonius.org>.
----- "pplive" <pp...@gmail.com> wrote:
> if not set, anybody can connect through JMX and do management....
>     <managementContext>
>        <managementContext connectorPort="1099"
> jmxDomainName="org.apache.activemq"/>
>     </managementContext>
> 
> any sample xml code ???


  The wiki has an example:  http://activemq.apache.org/jmx.html

  It is a bit messy as the <managementContent> creates a JMX listener that can't be password protected at all.  So basically, just disable it, and use the standard Sun JMX listener.  And the all of the Sun JMX documentation applies.


Tom