-
Type:
Problem report
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: 3.0.0rc2, 5.0.7
-
Component/s: Java gateway (J)
-
None
-
Sprint 72 (Jan 2021), Sprint 73 (Feb 2021)
-
2
I've tested it with glassfish and one needs to do
HashMap envSSL = new HashMap<>(env != null ? env : Collections.emptyMap()); envSSL.put("com.sun.jndi.rmi.factory.socket", new SslRMIClientSocketFactory()); jmxc = JMXConnectorFactory.connect(url, envSSL);
Before
jmxc = JMXConnectorFactory.connect(url, envSSL);
Failing to do this returns in IOEXceptiom:
non-JRMP server at remote endpoint