Details
-
Bug
-
Status: Resolved (View Workflow)
-
Critical
-
Resolution: Fixed
-
14.0.0, Meridian-2015.1.0
-
Security Level: Default (Default Security Scheme)
-
Horizon - Feb 15th
Description
The Jsr160ConnectionFactory does not create valid JMX URIs when connecting to an IPv6 address. If the IPv6 address and port are both specified (which they always are in our code), then the address portion needs to be wrapped in square brackets so that there is a delimiter between the last octet and the ":" that indicates the port number.
Incorrect: service:jmx:rmi:///jndi/rmi://0000:0000:0000:0000:0000:0000:0000:0001:18980/jmxrmi Correct: service:jmx:rmi:///jndi/rmi://[0000:0000:0000:0000:0000:0000:0000:0001]:18980/jmxrmi
We should change the class so that it always wraps IPv6 addresses in square brackets when calling the JMXServiceURL constructor.