-
Bug
-
Resolution: Won't Do
-
Major
-
EAP 5.0.0
-
None
-
Not Required
When running the AS testsuite, tests fail with the following exception (this is an excerpt from org.jboss.test.aop.test.AOPUnitTestCase):
<error message="Could not obtain connection to any of these urls: [3ffe:ffff:100:f101::1]:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]" type="javax.naming.CommunicationException">
javax.naming.CommunicationException: Could not obtain connection to any of these urls: [3ffe:ffff:100:f101::1]:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server [3ffe:ffff:100:f101::1]:1099:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server [3ffe:ffff:100:f101::1]:1099:1099 [Root exception is java.net.UnknownHostException: [3ffe:ffff:100:f101::1]:1099]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1763)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:693)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.test.JBossTestServices.getServer(JBossTestServices.java:154)
at org.jboss.test.JBossTestSetup.getServer(JBossTestSetup.java:108)
at org.jboss.test.aop.test.AOPTestSetup.setUp(AOPTestSetup.java:69)
at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
at junit.extensions.TestSetup.run(TestSetup.java:25)
Caused by: javax.naming.CommunicationException: Failed to connect to server [3ffe:ffff:100:f101::1]:1099:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server [3ffe:ffff:100:f101::1]:1099:1099 [Root exception is java.net.UnknownHostException: [3ffe:ffff:100:f101::1]:1099]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:335)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1734)
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server [3ffe:ffff:100:f101::1]:1099:1099 [Root exception is java.net.UnknownHostException: [3ffe:ffff:100:f101::1]:1099]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:305)
Caused by: java.net.UnknownHostException: [3ffe:ffff:100:f101::1]:1099
at java.net.InetAddress.getAllByName(InetAddress.java:1039)
at java.net.InetAddress.getAllByName(InetAddress.java:1019)
at java.net.InetAddress.getByName(InetAddress.java:969)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:81)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:301)
</error>
The following system property is defined:
<property name="java.naming.provider.url" value="jnp://[3ffe:ffff:100:f101::1]:1099"/>
This is a valid IPv6 URL descibing the naming server the client should be contacting, and yet org.jnp.interfaces.NamingContext parses the URL into host:port as [3ffe:ffff:100:f101::1]:1099:1099.
- blocks
-
JBPAPP-3439 Fix known IPv6 incompatibilities
- Closed
-
JBPAPP-434 Fix known IPv6 incompatibilities
- Resolved
-
JBNAME-45 org.jnp.interfaces.NamingContext issues with IPv6
- Open
- is related to
-
JBAS-6390 Add support for parsing IPv6 addresses in org.jnp.interfaces.NamingContext
- Closed