tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Lucia" <timlu...@yahoo.com>
Subject RE: Enabling JMX and jconsole in Tomcat 5.5
Date Mon, 08 May 2006 11:02:56 GMT
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:david.goodenough@btconnect.com] 
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message