Java VisualVM does not show/list my tomcat java process

后端 未结 2 518
甜味超标
甜味超标 2021-01-04 10:23

I am using jdk64 and my java version is 1.6.0_24. I am running both (Tomcat java process and VisualVM) processes as Administrator on Windows Server

相关标签:
2条回答
  • 2021-01-04 10:45

    You need to add the JMX parameters to enable the JMX connection to your application, so add the following parameters:

    -Dcom.sun.management.jmxremote
    -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.port=8484
    -Dcom.sun.management.jmxremote.ssl=false
    

    Then You need to add your tomcat process manually, So right click on you localhost node -> Add JMX Connection -> type your port -> OK.

    Your tomcat process will be listed in under localhost node.

    0 讨论(0)
  • 2021-01-04 10:46

    Our application server is JBOSS 6.1.0.final and our server itself is not starting on adding these lines to the run.conf.bat file -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=8484 -Dcom.sun.management.jmxremote.ssl=false

    0 讨论(0)
提交回复
热议问题