[jboss-jira] [JBoss JIRA] Resolved: (JBAS-6390) Add support for parsing IPv6 addresses in org.jnp.interfaces.NamingContext

Scott M Stark (JIRA) jira-events at lists.jboss.org
Wed Jan 21 20:31:04 EST 2009


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

Scott M Stark resolved JBAS-6390.
---------------------------------

    Fix Version/s:     (was: JBossAS-5.1.0.Beta1)
       Resolution: Done


The following changes were made to support the IPv6 addresses:

1. Change the Naming cache to use InetSocketAddress as the key rather than the host + ":" port string.
2. Add an alternate host + "@" port url syntax so that one can specify an ipv6 address and a port.
3. If there are multiple ':' in a provider url, we have to assume its an IPv6 address with no port. The only way a port can be specified with an IPv6 address is by using the '@' separator as in:
::ffff:127.0.0.1 at 1099 


> Add support for parsing IPv6 addresses in org.jnp.interfaces.NamingContext
> --------------------------------------------------------------------------
>
>                 Key: JBAS-6390
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6390
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Naming
>    Affects Versions: JBossAS-4.2.3.GA, JBossAS-5.0.0.GA
>            Reporter: Dimitris Andreadis
>            Assignee: Scott M Stark
>             Fix For: JBossAS-4.2.4.GA
>
>
> Class org.jnp.interfaces.NamingContext is unable to parse IPV6 addresses. There are couple of places where it uses
> int colon = url.indexOf(':') to delimit hostname and port.
> This does not work with IPV6 adresses.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list