I have the following settings in my (Windows) service configuration on the
Java tab (ONE PER LINE!)

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8086
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

I have similar settings in $CATALINA_HOME/bin/setenv.sh.

Then I run JConsole, and on the remote tab, enter the host and port (8086)
and away I go.

HTH,
Tim


-----Original Message-----
From: David Goodenough [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 08, 2006 6:54 AM
To: tomcat-user@jakarta.apache.org
Subject: Enabling JMX and jconsole in Tomcat 5.5

I am trying to get jconsole to talk to Tomcat 5.5, and failing dismally.

My first attempt was to enable the local access to JMX, using just
-Dcom.sun.management.jmxremote but when I then start jconsole
there are NO local services shown.

So then I tried remote access, by setting -Dc.s.m.j.port=9000 and
.authenticate=false and .ssl=false, but when I try to connect 
I just get a connection failed reply.  

I am obviously failing to do something really basic, but I can not 
see it.  All the howtos just assume it works.

Anyone got any clues?

David

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to