I have a java app running on serverA with port 1337. I can telnet the remote server with that port and telnet connection seems okay. But when I try to connect from my machine by using either JConsole or JVisualVm, I got nothing but a blank white screen for both.
The screenshot is here:
When I try other remote machines there is no problem at all, and for serverA, it shows nothing, and nothing on the command line about what was possibly going wrong.
any ideas about solving this?
EDIT:
Commandline options that I use are
-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.