This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes IPv6: Lookup error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "IPv6: Lookup error" Watch "IPv6: Lookup error" New topic

IPv6: Lookup error

Somanath Iyer

Joined: May 08, 2002
Posts: 3

I am using an IPv6 host where my server & client are running. When an ejb lookup is done using IPv6 address, I'm getting the following error from the InitialContext.lookup call.

javax.naming.CommunicationException: Could not obtain connection to any of these urls: fd00:60:69bc:66:250:56ff:fe86:7e1b:24600 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server fd00:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server fd00:1099 [Root exception is fd00]]]

The InitialContext is created passing properties with provider url correctly (IPv6 address part enclosed within square brackets).

Is this a known issue? Please let me know if anyone has encountered the issue.

Don't get me started about those stupid light bulbs.
subject: IPv6: Lookup error
Similar Threads
Locating Remote Session Bean Using JNDI--JNDI-Root Error Socket Timeout Jboss.5.1.GA
Problem with using Jboss
Lookup issue with IPv6 address on Solaris
Help required for JMS on Jboss server
SocketTimeoutException when doing JNDI lookup