Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362643

Summary: o.e.j.jmx.ConnectorServer starts the RMIRegistry using the wrong part of JMXServiceURL
Product: [RT] Jetty Reporter: Simone Bordet <simone.bordet>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 7.5.4   
Target Milestone: 7.5.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Simone Bordet CLA 2011-11-02 05:05:56 EDT
For JMXServiceURL such as rmi://host:1234 the host and port refer to the RMI server, not to the RMIRegistry.

For JMXServiceURL such as rmi://host1:1234/jndi/rmi://host2:4321, host1:1234 refers to the RMI server, and host2:4321 refers to the RMIRegistry.

The current implementation of ConnectorServer does not handle JMXServiceURLs properly.
Comment 1 Simone Bordet CLA 2011-11-04 16:53:57 EDT
Misread the actual code, ConnectorServer is implemented properly.