[jboss-jira] [JBoss JIRA] (AS7-3613) IPv6 addresses not property handling in remoting URLs

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sun Feb 5 13:55:48 EST 2012


     [ https://issues.jboss.org/browse/AS7-3613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated AS7-3613:
----------------------------------

    Attachment: urls.txt


Attached is the result of searching for "://" in all the non-testsuite .java files in the AS source tree. We should check all these for proper IPv6 URL formation.
                
> IPv6 addresses not property handling in remoting URLs
> -----------------------------------------------------
>
>                 Key: AS7-3613
>                 URL: https://issues.jboss.org/browse/AS7-3613
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Critical
>             Fix For: 7.1.0.Final
>
>         Attachments: urls.txt
>
>
> This won't fly if the hostname is an IPv6 address:
> bstansberry$ git grep remote://
> controller-client/src/main/java/org/jboss/as/controller/client/impl/ProtocolConfigurationFactory.java:        configuration.setUri(new URI("remote://" + client.getHost() +  ":" + client.getPort()));
> host-controller/src/main/java/org/jboss/as/host/controller/RemoteDomainConnectionService.java:            configuration.setUri(new URI("remote://" + localHostInfo.getRemoteDomainControllerHost() + ":" + localHostInfo.getRemoteDomainCont
> server/src/main/java/org/jboss/as/server/mgmt/domain/HostControllerConnectionService.java:            configuration.setUri(new URI("remote://" + hcAddressInjector.getValue().getHostName() + ":" + hcAddressInjector.getValue().getPort()))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list