I have a remote application running on JDK 1.7. When I attempt to attach to it using from JDK 1.6 or JDK 1.8 via a proxy
jconsole -J-DsocksProxyHost=localhost -J-DsocksProxyPort=${proxy_port} service:jmx:rmi:///jndi/rmi://localhost:${jmx_port}/jmxrmi
I get the same message:
Connection Failed: Retry?
The connection to service:jmx:rmi:///jndi/rmi://localhost:xxxx/jmxrmi did not succeed.
Would you like to try again?
I expect 1.6 not to be viable for more recent versions, but thought that 1.8 would be able to take care of previous versions.
When I just use jconsole
(instead of the proxy script) locally I can use both JDK 1.6 and JDK 1.8 to connect to JVMs running on JDK 1.7.