Remote JMX connection

前端 未结 12 1079
后悔当初
后悔当初 2020-11-29 15:54

I\'m trying to open a JMX connection to java application running on a remote machine.

The application JVM is configured with the following options:

  • com
12条回答
  •  再見小時候
    2020-11-29 16:21

    Try this, I tested to access JMX inside docker container

    -Dcom.sun.management.jmxremote=true -Djava.rmi.server.hostname=localhost -Dcom.sun.management.jmxremote.port=16000 -Dcom.sun.management.jmxremote.rmi.port=16000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

    Then

    $ jconsole localhost:16000

提交回复
热议问题