Tomcat配置JMX

测试过程中需要通过JMX来发现并监控Tomcat,把最近配置的情况记录下来
1. 版本8.5.38
2. CSDN上右边文章https://blog.csdn.net/pinyitianle/article/details/51172087
或者https://www.ibm.com/support/knowledgecenter/zh/SSHS8R8.0.0/com.ibm.worklight.installconfig.doc/installconfig/toptionalconfigappserver_tomcat.html
3. export JDK_JAVA_OPTIONS
CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8008 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=10.30.30.33"

4. 通过./catalina.sh start