aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes java.net.ConnectException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java.net.ConnectException" Watch "java.net.ConnectException" New topic
Author

java.net.ConnectException

ragi singh
Ranch Hand

Joined: Mar 10, 2010
Posts: 198

Hi i have a JMS application , initially it was giving me the Exception NoInitialContext found .I made a jndi.properties file and then made a jar of jndi.properties after which i am getting the following exception while running the example


Could not create JNDI API context: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
java.net.SocketException: Unrecognized Windows Sockets error: 10106: create; No available router to destination]


Can anyone explain how to fix this situation ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java.net.ConnectException