JMX Monitor with Tomcat 5.5

JMX Monitor with Tomcat 5.5

I have trouble configuring JMX monitor for Tomcat 5.5 JRE 1.5.0_06/JDK 1.5.0_06

I have setup JAVA_OPTS=-Dcom.sun.management.jmxremote

set properties file in JRE_HOME\lib\management\management.properties
com.sun.management.jmxremote.port=1930
com.sun.management.jmxremote.ssl=false

set password file in JRE_HOME\lib\management\jmxremote.password
monitorRole QED
controlRole R&D

Access file is set in JRE_HOME\lib\management\jmxremote.access
monitorRole readonly
controlRole readwrite

I try to setup the JMX monitor in Application Manager
Host address: xx.xx.xx.xx
port: 1930
JNDI name: /jmxconnector
Authentication: checked
User name: monitorRole
Password: QED


Setup gives error:
Service is not Running.
Root Cause:
Service port 1930 not accessible from xx.xx.xx.xx

Is there a way to find out which port can be used for JMX? I used netstat to find unused port and entered it in properties file. In spite of repeated attempts I get the same error.

I also tried jconsole, I get connection failed error.

Am I doing anything wrong?

Thanks
Gururaj




































                New to ADSelfService Plus?