• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IPv6: Lookup error

 
Somanath Iyer
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All

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 java.net.SocketTimeoutException: 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 java.net.UnknownHostException: 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.

Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic