[JBoss JIRA] (JBWS-4054) AbstractServerConfig#setWebServiceHost uses local hostname, then fails on verification
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-4054?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-4054:
----------------------------------
Fix Version/s: jbossws-cxf-5.2.0.Final
> AbstractServerConfig#setWebServiceHost uses local hostname, then fails on verification
> --------------------------------------------------------------------------------------
>
> Key: JBWS-4054
> URL: https://issues.jboss.org/browse/JBWS-4054
> …
[View More] Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-integration
> Environment: Wildfly 10.1.0
> Reporter: Daniel Lichtenberger
> Assignee: R Searls
> Fix For: jbossws-cxf-5.2.0.Final
>
>
> If "0.0.0.0" is passed to AbstractServerConfig#setWebServiceHost, it uses InetAddress.getLocalHost().getHostName() as the server host. This hostname is then verified using AddressUtils#isValidAddress, which uses the strict requirements for public hostnames.
> However, it's quite possible to use characters like "_" in local hostnames, so something like "my_desktop" as a hostname (or even non-ASCII characters) will cause this to fail.
> For Wildfly, our workaround is to use a specific IP address (like 127.0.0.1) in the "wsdl-host" of standalone.xml.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
[View Less]