Reprinted from: https://blog.csdn.net/qq_27790011/article/details/88799587
Open TomcatXw.exe find java tab, add the following parameters
-Dcom.sun.management.jmxremote.port=12321 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
Connections JVisualVm
Connections Jconsole