1.创建一个tomcat用户
2.tomcat的Config的启动参数中追加:
-Dcom.sun.management.jmxremote.port=18080
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
3.在cmd中执行\Java\jdk1.6.0_10\bin下的jconsole命令
4.再打开的界面中选择远程登录
地址:localhost:18080
用户名/密码:tomcat的用户名密码