I've got the exact same problem. My set up: local box (Windows) with AMQ and remote box (Red Hat Linux) with AMQ. Both boxes are running JDK 1.4.2. I can use JConsole to monitor my local box but not the remote box. Another clue -- I tried using the "list" command in the activemq/bin directory with the --jmxurl argument. On local windows box, it works fine to access local AMQ url but not remote AMQ url. If I run the list command on Linux box, I can access both the Windows AMQ url as well as the Linux AMQ url. So it appears to be some issue with Windows box connecting outbound to port 1099 on another box. My Linux admin tells me port 1099 on the Linux box is not restristed by its firewall in any way. From windows box I can telnet to port 1099 on Linux box and I can tell something's there listening. Anyone have any ideas?
bhartsb wrote: > > 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#a8421755 Sent from the ActiveMQ - User mailing list archive at Nabble.com.
