Re: Monitoring tomcat6 as a windows service with jvisualvm

2010-12-21 Thread Johan Cwiklinski
Hello,

Le 16/12/2010 08:34, Johan Cwiklinski a écrit :
 Hello,
 
 I'm trying to monitor a Tomcat6 (6.0.29) instance which is running as a
 service une der windows (2003 server) using Oracle's JDK 1.6.0_21.
 
 In tomcat service, under java tab, I've added the following:
 -Dcom.sun.management.jmxremote=true
 -Dcom.sun.management.jmxremote.port=9002
 -Dcom.sun.management.jmxremote.ssl=false
 -Dcom.sun.management.jmxremote.authenticate=false
 
 When I try to connect with jvisualvm using JMX on localhost:9002 I got
 the following error:
 Cannot connect to localhost:9002 using service:
 jmx:rmi:///jndi/rmi://localhost:9002/jmxrmi
 
 Using JConsole ; I can connect using the same host:ip.
 
 Local windows firewall is disbaled ; I do not know what the problem
 is... Did I miss something ?
 
 Regards,

Answering to myself...

It seems that the issue was related to a server misconfiguration. I do
not know which one since we are not in charge of server's administration.

Regards,
-- 
Johan Cwiklinski
AJLSM

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



Monitoring tomcat6 as a windows service with jvisualvm

2010-12-15 Thread Johan Cwiklinski
Hello,

I'm trying to monitor a Tomcat6 (6.0.29) instance which is running as a
service une der windows (2003 server) using Oracle's JDK 1.6.0_21.

In tomcat service, under java tab, I've added the following:
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=9002
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

When I try to connect with jvisualvm using JMX on localhost:9002 I got
the following error:
Cannot connect to localhost:9002 using service:
jmx:rmi:///jndi/rmi://localhost:9002/jmxrmi

Using JConsole ; I can connect using the same host:ip.

Local windows firewall is disbaled ; I do not know what the problem
is... Did I miss something ?

Regards,
-- 
Johan Cwiklinski
AJLSM

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