Hi there, I'm trying to attach a Visualvm to a Tomcat (6.0.32) in a remote computer that only has the port 22 opened. I'm opening a ssh tunnel to bypass the firewall and access different ports but JMX over RMI it's not working. I have tried several tutorials but I didn't manage to work.
http://blogs.oracle.com/jmxetc/entry/connecting_through_firewall_using_jmx http://www.junlu.com/msg/394744.html I also see that there are some listeners that can help to get this working like org.apache.catalina.mbeans.JmxRemoteLifecycleListener and org.apache.catalina.mbeans.JMXAdaptorLifecycleListener but none of them are available in Tomcat (ClassNotFoundException). After a day trying to find a solution I found this article that seems to be easier but I wasn't able to configure Tomcat to use JMX over JMXMP. How can I do that? http://blog.markfeeney.com/2010/10/jmx-through-ssh-tunnel.html Thanks in advance! Thiago Moreira
