[jbossws-issues] [JBoss JIRA] Created: (JBWS-3199) AbstractServerConfig.toIPv6URLFormat throws java.net.UnknownHostException
Alessio Soldano (JIRA)
jira-events at lists.jboss.org
Thu Jan 13 13:10:49 EST 2011
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-native-3.4.1, jbossws-cxf-3.4.1
Reporter: Alessio Soldano
Fix For: jbossws-native-4.0, jbossws-cxf-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