[jboss-jira] [JBoss JIRA] (AS7-4507) CorbaORBService does not use IPv6-safe URL syntax

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Apr 13 20:16:47 EDT 2012


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

Brian Stansberry reassigned AS7-4507:
-------------------------------------

    Assignee: Brian Stansberry  (was: Stefan Guilhen)

    
> CorbaORBService does not use IPv6-safe URL syntax
> -------------------------------------------------
>
>                 Key: AS7-4507
>                 URL: https://issues.jboss.org/browse/AS7-4507
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: IIOP
>    Affects Versions: 7.1.1.Final
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 7.1.2.Final-redhat1
>
>
> This is wrong in CorbaOrbService:
> String host = properties.getProperty(JacORBSubsystemConstants.ORB_ADDRESS);
> String port = properties.getProperty(JacORBSubsystemConstants.ORB_PORT);
> properties.setProperty(JacORBSubsystemConstants.JACORB_NAME_SERVICE_INIT_REF,
> "corbaloc::" + host + ":" + port + "/" + rootContext);
> You can't use a string that may be an IPv6 address in URL like that; the address part needs to be surrounded with [].

--
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