[jboss-jira] [JBoss JIRA] (REMJMX-93) Unable to connect over remjmx on ip6
Rob Stryker (JIRA)
issues at jboss.org
Thu Feb 5 11:42:49 EST 2015
[ https://issues.jboss.org/browse/REMJMX-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Stryker closed REMJMX-93.
-----------------------------
Resolution: Rejected
This was a false alarm / user error. Sorry for the spam.
> Unable to connect over remjmx on ip6
> ------------------------------------
>
> Key: REMJMX-93
> URL: https://issues.jboss.org/browse/REMJMX-93
> Project: Remoting JMX
> Issue Type: Bug
> Components: Connection
> Reporter: Rob Stryker
> Assignee: Darran Lofthouse
>
> Exception trace is as follows:
> {code}
> java.net.MalformedURLException: Bad port number: "": java.lang.NumberFormatException: For input string: ""
> at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:211)
> at org.jboss.ide.eclipse.as.jmx.integration.JBoss71ServerConnection.createConnection(JBoss71ServerConnection.java:85)
> {code}
> Code being run is basically:
> {code}
> String url = "service:jmx:http-remoting-jmx://fe80::5e51:4fff:fee6:e7ea:9990";
> JMXConnector connector = null;
> try {
> connector = JMXConnectorFactory.connect(new JMXServiceURL(url), environment);
> MBeanServerConnection connection = connector.getMBeanServerConnection();
> synchronized(this) {
> this.connectionToConnector.put(connection, connector);
> }
> return connection;
> } catch(IOException ioe) {
> {code}
> It's obvious that JMXServiceURL. is parsing the url based on the location of the colons and that ip6 urls, having many colons, is confusing it. But I'm not sure if this is a bug in JMXServiceURL for not properly handling ip6 or if this is a user error, ie, I'm not passing the proper url.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list