Jconsole cannot connect

前端 未结 4 2476
被撕碎了的回忆
被撕碎了的回忆 2021-02-19 23:37

I am using VNC to connect to a server. I am able to VNC into the server, and open Jconsole, but cannot get it to connect to my process whether I include the PID or try connectin

4条回答
  •  再見小時候
    2021-02-19 23:47

    Fix found here: You need to pass to the VM:

    -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false
    

    -- Edit - Fixed the =fals error mentioned in comments.

提交回复
热议问题