Hello All
I am trying to configure my Tomcat with HQ. So that I can monitor my web applications in side tomcat.
I couldn't able to see metrics and HQ Says "This resource has not been configured. Please set its Configuration Properties.". Under Configuration Properties, I see below help from HQ:
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.
Unfortunately I couldn't locate catalina.sh at my installation path. Since I installed Tomcat6.0 with executable I only see services and 2 jars under /bin.
Could any advice me where can I add above information so that I can enable JMX?
Appreciate your early response.
Thanks,
Shashi
|