Debugging JConsole Connection Failed

后端 未结 8 1266
臣服心动
臣服心动 2020-12-29 04:34

I have a web application deployed to a remote resin server, and it has JMX turned on.

I can telnet to the remote server i.e

franz@see:/tmp$ telnet &l         


        
8条回答
  •  甜味超标
    2020-12-29 05:07

    This finally made it work for me : Giving this extra option: -Djava.rmi.server.hostname=

    So all the vm arguments used to open jconsole from a remote machine, the jvm on the remote machine must be started with

     -Dcom.sun.management.jmxremote.authenticate=false  -Dcom.sun.management.jmxremote.port= -Dcom.sun.management.jmxremote -com.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=
    

    The entire process is listed here

提交回复
热议问题