Re: Another confused person trying to get jconsole to monitor tomcat.

2008-10-03 Thread Kees Jan Koster
Dear Martin, http://www.jdocs.com/tomcat/6.0.14/org/apache/catalina/ServerFactory.html ServerFactory.getServer() will return org.apache.catalina.ServerFactory Thanks for the information. I changed the mbean server code to make use of all available mbean servers and now my code can always

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-10-02 Thread Kees Jan Koster
Dear Mark, I got bitten by this recently. I am working on a LifecycleListener (that can be configured in server.xml) that fixes both ports that are used by jconsole. This makes it much easier to configure firewalls, tunnel through PuTTY etc. If I get it finished in time, it will be in

RE: Another confused person trying to get jconsole to monitor tomcat.

2008-10-02 Thread Martin Gainty
other than intended recipient. Sender does not necessarily endorse content contained within this transmission. From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: Another confused person trying to get jconsole to monitor tomcat. Date: Thu, 2 Oct 2008 20:26:16 +0200 Dear Mark

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-09-23 Thread Mark Thomas
Tim Funk wrote: vnc might have acceptable performance. Not sure if you'd run into issue by installing vncserver. -Tim Bill Davidson wrote: Tim Funk wrote: An easy kludge is to run jconsole locally on the server and send the display to yourself. ssh -Y yourserver (or ssh -X server

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Mark Thomas
Bill Davidson wrote: I've been through the docs. I've been through Google. I can't seem to figure this out. Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2 Client: jconsole from JDK 1.6.0_07 on Windows XP I've got all of these in $CATALINA_OPTS and they do show up in the java

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Dominic Mitchell
On 21 Aug 2008, at 09:25, Mark Thomas wrote: Bill Davidson wrote: I've been through the docs. I've been through Google. I can't seem to figure this out. Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2 Client: jconsole from JDK 1.6.0_07 on Windows XP I've got all of these in

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Mark Thomas
Dominic Mitchell wrote: On 21 Aug 2008, at 09:25, Mark Thomas wrote: Bill Davidson wrote: I've been through the docs. I've been through Google. I can't seem to figure this out. Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2 Client: jconsole from JDK 1.6.0_07 on Windows XP

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Bill Davidson
On 21 Aug 2008, at 09:25, Mark Thomas wrote: Add some logging to your firewall configuration to see what is being dropped. Dominic Mitchell wrote: That should help, but it's likely to be a different port in use each time. Because JMX uses RMI by default, and RMI uses two ports: a fixed port to

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Tim Funk
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

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Kees Jan Koster
Dear Bill, I've been through the docs. I've been through Google. I can't seem to figure this out. Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2 Client: jconsole from JDK 1.6.0_07 on Windows XP I've got all of these in $CATALINA_OPTS and they do show up in the java command line

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Bill Davidson
Tim Funk wrote: 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. I'm running the client on a Windows machine. I did try Cygwin/X and an ssh tunnel with

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Tim Funk
vnc might have acceptable performance. Not sure if you'd run into issue by installing vncserver. -Tim Bill Davidson wrote: Tim Funk wrote: 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)