An easy kludge is to run jconsole locally on the server and send the display to yourself.

ssh -Y yourserver (or ssh -X server YMMV)
$JAVA_HOME/bin/jconsole pid

No iptables tricks needed.

-Tim

Bill Davidson wrote:
Is this random port opened by the server side (Tomcat) or the client side
(jconsole) or is there some other program running in there to make my
life difficult?

Is there a way to configure Tomcat or jconsole, as applicable, to use
the same specified second port every time?

What are the tricks that can be played with iptables?  I'm guessing they
involve opening up a range of ports?  I'll still be limiting it to one or
at most 2-3 IP addresses.  Once I get SSL and authentication going, that
may be secure enough.

BTW, I'm not real good at iptables and this is the first time I've tried
to play with JMX.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to