In jdk bin directory, we find jconsole.exe execution of the program, double-click operation, the display is as follows: and no local option after the start tomcat.
First of all, we need to modify the parameters of a registry.
64-bit operating system corresponding path: HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Apache Software Foundation \ Procrun 2.0 \ Tomcat7 \ Parameters \ JAVA
double-click to open Options, by appending the information below: wherein, jmxremote.port tomcat modify the corresponding port number.
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=80
-Dcom.sun.management.jmxremote.ssl="false"
-Dcom.sun.management.jmxremote.authenticate="false"
After the modification, no need to restart tomcat to take effect.
However, if a program starts execution of .exe tomcat, it is still unable to view. You must use startup.bat way to start to appear.
It now appears that the use of startup.bat start, although the function is the same, but in some respects, this approach will be more convenient than the .exe start-up mode, such as jstack command, you can only start in the effective implementation of the way, as well as jconsole here, too.