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 se

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

2008-10-02 Thread Martin Gainty
te Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmis

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 6.0

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

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) $JAVA_HOME/bin/jcons

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 P

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 when

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 (jcon

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

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 o

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 $CATALIN

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

Another confused person trying to get jconsole to monitor tomcat.

2008-08-20 Thread Bill Davidson
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 when I run ps: -