Hi,

I am having trouble using JConsole to monitor a remote AMQ.  I can run AMQ
locally and JConsole works fine.

I have looked already at:
http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html#remote.

My batch file to run AMQ remote is:

java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false -jar AMQ.jar

I then try to launch JConsole is either: 

 jconsole service:jmx:rmi:///jndi/rmi://WAN_IP:1099/jmxrmi
or
jconsole WAN_IP:1099

Neither of these work remotely.  


If I launch jconsole on the same machine as AMQ, using the exact two methods
immediately above, the connection WILL be made.  The AMQ batch file then is
just (for this local mode): 

java -Dcom.sun.management.jmxremote -jar AMQ.jar

Thanks.





-- 
View this message in context: 
http://www.nabble.com/Accessing-remote-AMQ-with-JConsole.-tf2971096.html#a8313689
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to