Re: JMX access through firewall

2011-10-27 Thread Thiago Moreira (timba)
Hey all, I was able to connect! These are the steps that I took http://www.liferay.com/pt/web/thiago.moreira/blog/-/blogs/how-to-monitor-liferay-tomcat-remotely-through-firewalls-using-visualvm Thanks! Thiago Moreira On Mon, Oct 24, 2011 at 1:56 PM, Thiago Moreira (timba)

Re: JMX access through firewall

2011-10-24 Thread Thiago Moreira (timba)
Hey Christopher, All machines are running IPv4, IPv6 is disabled. And it is possible use with or without space between -L and its forwarding specifiers. Today is my third day fighting against this... totally frustrated! Is there a log configuration that I can turn on to check if the JMX

Re: JMX access through firewall

2011-10-24 Thread Thiago Moreira (timba)
Another step forward... I got jconsole print some debugging information. Using *jconsole -J-Djava.util.logging.config.file=logging.properties* And found out that it is necessary add the catalina-jmx-remote.jar to jconsole classpath (*jconsole

JMX access through firewall

2011-10-21 Thread Thiago Moreira (timba)
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.

Re: JMX access through firewall

2011-10-21 Thread Mark Thomas
On 21/10/2011 13:56, Thiago Moreira (timba) wrote: org.apache.catalina.mbeans.JmxRemoteLifecycleListener Read this http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.html org.apache.catalina.mbeans.JMXAdaptorLifecycleListener but none of them are available in Tomcat

Re: JMX access through firewall

2011-10-21 Thread Thiago Moreira (timba)
Thanks Mark! I was able to connect visualvm to Tomcat without SSH tunneling, that is a one step forward! But I'm still struggling with SSH tunneling. Let me show what I have configured. I have a VirtualBox VM (Ubuntu-11.10) setup with a Tomcat (6.0.32) with the following configurations: -

Re: JMX access through firewall

2011-10-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thiago, On 10/21/2011 1:37 PM, Thiago Moreira (timba) wrote: On my host machine I fired the tunneling with: ssh -v -L10.226.2.212/8849/localhost/8849 -L10.226.2.212/8850/localhost/8850 192.168.56.101 Is it possible that ssh is confused by your