连接远程计算机时JConsole / JVisualVm空菜单

时间:2013-09-16 07:13:06

标签: java jmx jconsole jvisualvm

我在serverA上运行了一个带有端口1337的java应用程序。我可以使用该端口telnet远程服务器,telnet连接似乎没问题。但是当我尝试使用JConsole或JVisualVm从我的机器连接时,我只得到两个空白屏幕。

截图位于:

The screenshot

当我尝试其他远程计算机时,根本没有问题,对于serverA,它什么都没有显示,并且在命令行上没有任何关于可能出错的内容。

关于解决这个问题的任何想法?

编辑:

我使用的命令行选项是

  -Dcom.sun.management.jmxremote \
  -Dcom.sun.management.jmxremote.ssl=true \
  -Dcom.sun.management.jmxremote.ssl.need.client.auth=true \
  -Dcom.sun.management.jmxremote.port=1337 \
  -Dcom.sun.management.jmxremote.authenticate=true \
  -Dcom.sun.management.jmxremote.password.file=./config/jmxremote.password \
  -Dcom.sun.management.jmxremote.access.file=./config/jmxremote.access \

EDIT2:

Sep 17, 2013 10:59:13 AM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: rmiServer=RMIServerImpl_Stub[UnicastRef2 [liveRef: [endpoint:[remotehost:44457,javax.rmi.ssl.SslRMIClientSocketFactory@20c449e3](remote),objID:[2ea1fcfa:1400abe0c89:-7fff, -6056681295086157153]]]]] connecting...
Sep 17, 2013 10:59:13 AM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: rmiServer=RMIServerImpl_Stub[UnicastRef2 [liveRef: [endpoint:[remotehost:44457,javax.rmi.ssl.SslRMIClientSocketFactory@20c449e3](remote),objID:[2ea1fcfa:1400abe0c89:-7fff, -6056681295086157153]]]]] finding stub...
Sep 17, 2013 10:59:13 AM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: rmiServer=RMIServerImpl_Stub[UnicastRef2 [liveRef: [endpoint:[remotehost:44457,javax.rmi.ssl.SslRMIClientSocketFactory@20c449e3](remote),objID:[2ea1fcfa:1400abe0c89:-7fff, -6056681295086157153]]]]] connecting stub...
Sep 17, 2013 10:59:13 AM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: rmiServer=RMIServerImpl_Stub[UnicastRef2 [liveRef: [endpoint:[remotehost:44457,javax.rmi.ssl.SslRMIClientSocketFactory@20c449e3](remote),objID:[2ea1fcfa:1400abe0c89:-7fff, -6056681295086157153]]]]] getting connection...
Sep 17, 2013 11:00:27 AM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: rmiServer=RMIServerImpl_Stub[UnicastRef2 [liveRef: [endpoint:[remotehost:44457,javax.rmi.ssl.SslRMIClientSocketFactory@20c449e3](remote),objID:[2ea1fcfa:1400abe0c89:-7fff, -6056681295086157153]]]]] failed to connect: java.rmi.ConnectException: Connection refused to host: remotehost; nested exception is: 
    java.net.ConnectException: Operation timed out
Sep 17, 2013 11:00:27 AM RMIConnector close
FINER: [javax.management.remote.rmi.RMIConnector: rmiServer=RMIServerImpl_Stub[UnicastRef2 [liveRef: [endpoint:[remotehost:44457,javax.rmi.ssl.SslRMIClientSocketFactory@20c449e3](remote),objID:[2ea1fcfa:1400abe0c89:-7fff, -6056681295086157153]]]]] closing.

0 个答案:

没有答案