Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Configure Apache Tomcat 6.0 for JMX Remote

$
0
0
Hi

I am trying to monitor Apache Tomcat 6.0 with HQ 4.2.0. As in process of that, I am trying to enable JMX for remote. Unfortunately I failed to succeed. Please see below what I have done.

1. I have Tomcat 6.0 installed and working fine.
2. HQ auto discovered that server but no metrics except availability. HQ Server shows below configuration help:

in /bin/catalina.sh add:
[ $1 != "stop" ] && JAVA_OPTS="-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=6969 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false $JAVA_OPTS"
export JAVA_OPTS
From there restart Tomcat and that is it.

3. I have added above entries on catalina.sh. Please see attached file. then restarted tomcat.
5. When I click on "Ok" button. I see again the same error. It's not taking the updated values. Please see attached screenshot.

I am clear that, JMX for remote is not enabled. I got confirmed by executing below command :

java -Duser=system -Dpass=manager -Dplugins.include=jmx -jar pdk/lib/hq-product.jar jmx MBeanDumper service:jmx:rmi:///jndi/rmi://localhost:6969/jmxrmi

When I fires above, it is giving error.

Please any one help me ....

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>