似乎我从来没有得到这个工作在过去。目前,我知道它不工作。
但是我们启动了 Java 进程:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=6002
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
我可以 telnet 到端口,并且“ something is there”(也就是说,如果我不启动进程,没有任何应答,但是如果我启动了,它会应答) ,但是我不能让 JConsole 填写 IP 和端口。
看起来应该很简单,但是没有错误,没有噪音,什么都没有,就是不行。
有人知道怎么做吗?