Unable to use JConsole with Tomcat running as windows service

后端 未结 6 1944
暖寄归人
暖寄归人 2020-12-05 05:09

I am running tomcat 6.0.18 as a windows service. In the service applet the jvm is configured default, i.e. it is using jvm.dll of the JRE.

I am trying to monitor thi

6条回答
  •  醉酒成梦
    2020-12-05 05:38

    If Tomcat is running as a Windows service, and you want to attach to the JVM locally, you need to run VisualVM or JConsole as the System account. You can use Sysinternals PsExec.exe to accomplish this.

    psexec.exe -i -s c:\visualvm\bin\visualvm.exe
    

提交回复
热议问题