activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HellKnight <>
Subject Having trouble while editing startup script and activemq.xml in order to monitor AMQ by jconsole
Date Fri, 11 Oct 2013 11:38:51 GMT
    I want to monitor ActiveMQ by jconsole . ActiveMQ 5.8.0 running under
redhat 6.3 , and jconsole is running under windows xp sp2.
    I did some googling , it  seems to me that I have to modify activemq.xml
and the startup script -- /bin/activemq. The example of startup script I
found is as follow :   
service:jmx:rmi:///jndi/rmi:// --jmxuser
controlRole --jmxpassword abcd1234"

However, I don't know what does the above example do, could anyone be kind
enough to explain the function of each line ? 
One more thing, I also found "" in , do I have to add this line in startup
script to enable remote JMX access ? 

As for activemq.xml ,I found an example as follow :
<broker useJmx="true">    
      <managementContext connectorPort="2011" createConnector=true>              

I am confused, because these two examples set the jmx port both in
activemq.xml and startup script, why is that ?  
    What is the right thing to do so that the jconsole could connect to
remote activemq under linux ?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message