[
https://issues.jboss.org/browse/JBWS-3721?page=com.atlassian.jira.plugin....
]
Petr Sakař commented on JBWS-3721:
----------------------------------
Would it be possible to rewrite methon isProperNetworkSetup in a little bit more readable
form ?
{CODE}
private boolean isProperNetworkSetup() throws Exception {
Enumeration<NetworkInterface> interfaces =
NetworkInterface.getNetworkInterfaces();
while (interfaces.hasMoreElements())
{
NetworkInterface networkInterface = interfaces.nextElement();
if (networkInterface.isUp() && !networkInterface.isLoopback() &&
isBroadcastAddressAvailable(networkInterface))
{
return true;
}
}
return false;
}
{CODE}
UDP endpoint failure in pure IPv6 environment
---------------------------------------------
Key: JBWS-3721
URL:
https://issues.jboss.org/browse/JBWS-3721
Project: JBoss Web Services
Issue Type: Bug
Affects Versions: jbossws-cxf-4.2.1
Environment: pure IPv6 network with IPv4 disabled
Reporter: Petr Sakař
Assignee: Alessio Soldano
Priority: Minor
Fix For: jbossws-cxf-4.3
UDPEndpointAPITestCase.testClientSide fails with connection timeout.
if the following lines are changed from
{code}
Endpoint ep = Endpoint.publish("soap.udp://:9436", implementor);
...
service.addPort(udpPortName, "http://schemas.xmlsoap.org/soap/",
"soap.udp://:9436");
{code}
to
{code}
Endpoint ep = Endpoint.publish("soap.udp://[::1]:9436", implementor);
...
service.addPort(udpPortName, "http://schemas.xmlsoap.org/soap/",
"soap.udp://[::1]:9436");
{code}
test passes.
I did not inspect if both addresses has to be changed or only one suffice
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira