Andreas Schildbach wrote:
I understand the problem, but do not know how to solve it. Can you give an example how the java.rmi.server.hostname and java.rmi.server.useLocalHostname properties on the client and the server should be set in this case?
Following setup works for me:

Server located in data center:

export CATALINA_OPTS="-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=4444 -Djava.rmi.server.useLocalHostname=true"

(all in one line). Firewall blocks inbound tcp connections to port 4444.

On my local workstation I run ssh tunnel:

ssh -L 4444:server.com:4444 [EMAIL PROTECTED]

I connect my jconsole to localhost:4444

--
Mikolaj Rydzewski  <[EMAIL PROTECTED]>
Becomo S.A.
tel. (12) 2927104


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to