users@glassfish.java.net

Re: jmx through a firewall?

From: <glassfish_at_javadesktop.org>
Date: Thu, 15 Jan 2009 10:01:23 PST

Got it to work...
- Setup the tunnel in puttycyg,
- started rmiregistry on the remote server,
- started jstatd on remote server,
       cd /usr/java/bin/; ./jstatd -J-Djava.security.policy=jstatd.all.policy&

In jconsole locally, I used this in the remote box:
service:jmx:rmi://192.168.1.102:8686/jndi/rmi://myremoteserver.com:8686/jmxrmi

Now, if only jconsole would think it's local, so it will profile things...!
[Message sent by forum member 'rpetruzzelli' (rpetruzzelli)]

http://forums.java.net/jive/thread.jspa?messageID=326286