Showing posts with label jmx. Show all posts
Showing posts with label jmx. Show all posts

Friday, 17 February 2012

How to enable jmx on tomcat in linux

create setenv.sh in $CATALINA_HOME/bin, add following lines to here

CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8086 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=192.168.4.38"


Important!: don't forget to give quote(")