Quick enable simple password protected Remote JMX with tomcat
You need to do following configuration to enable Remote JMX monitoring on tomcat server.
Copy jmxremote.password.template located at JRE_HOME/lib/management inside the same folder with the name jmxremote.password. Edit this jmxremote.password file, uncomment last two lines starts with monitorRole and controleRole, instead of QED and R&D set some good password for both of them. Change directory to CATALINA_HOME/bin from where you start the tomcat. You will find setenv.sh (if you don’t find it create one) and add following line inside file CATALINA_OPTS="$CATALINA_OPTS -Dcom.
[Read More]