Question: how to enable jmx in tomcat?
Answer: On your Tomcat host, open the start menu and click on Tomcat Configuration (alternatively, edit the catalina.bat or catalina.sh)
Click on the Java tab, then add the following Java Options. -Dcom.sun.management.jmxremote. ... 
Save the changes and restart Tomcat.