File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.net.ConnectException