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