[jbossws-issues] [JBoss JIRA] Updated: (JBWS-3199) AbstractServerConfig.toIPv6URLFormat throws java.net.UnknownHostException

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Mon Jun 13 17:22:25 EDT 2011


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

Alessio Soldano updated JBWS-3199:
----------------------------------

    Fix Version/s: jbossws-cxf-4.0.0.Beta2
                       (was:  jbossws-cxf-4.0)


> AbstractServerConfig.toIPv6URLFormat throws java.net.UnknownHostException
> -------------------------------------------------------------------------
>
>                 Key: JBWS-3199
>                 URL: https://issues.jboss.org/browse/JBWS-3199
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf, jbossws-native
>    Affects Versions: jbossws-cxf-3.4.1, jbossws-native-3.4.1
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>             Fix For: jbossws-cxf-4.0.0.Beta2, jbossws-native-4.0
>
>
> After applying the changes for IPv6 support, the AbstractServerConfig::toIPv6URLFormat method does a InetAddress.getByName(host) call that can throws UnknownHostException if the webserviceHost in the configuration can't be lookup.
> This needs to be changed or at least surrounded by a try-catch block as it's not robust (to be honest nothing even prevents the user from wanting a fancy hostname in there).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list