users@glassfish.java.net

Re: jmx through a firewall?

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Tue, 27 Jan 2009 12:20:25 +0000

Thanks for the help folks, but this sounding like a world of pain opposed
to just X11 forwarding down an SSH tunnel.
I take it AMX is going to have the same problems (since it's RMI-based)?

Think I'll go down the self-management route instead (try to write an MBean
that can let me know some other way when things go sour).

On Thu, Jan 15, 2009 at 6:01 PM, <glassfish_at_javadesktop.org> wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>