I get the following exception when trying to connect from a client app to a WebLogic JNDI server. Any pointers would be great... javax. naming. CommunicationException. Root exception is java.net. ConnectException: http://x.x.x.x:7001: Destination unreachable; nested exception is: java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'w2w405.corp.lch.com', port: '7001'; No available router to destination at weblogic.rjvm. RJVMFinder.findOrCreate(RJVMFinder.java:173) at weblogic.rjvm. ServerURL.findOrCreateRJVM(ServerURL.java:262) at weblogic.jndi. WLInitialContextFactoryDelegate. getInitialContext(WLInitialContextFactoryDelegate. java:323)
Your problem is that you are trying to get an JNDI context over HTTP. This is not going to work unless you have HTTP Tunneling enabled. What you probably want is to use either T3(WebLogic's proprietary protocol) or IIOP.
Joined: Aug 01, 2002
Sorry, I should have said I've tried both protocols (t3 and http) and get the same problem? javax.naming.CommunicationException. Root exception is java.net.ConnectException: t3://x.x.x.x:7001: Destination unreachable; nested exception is: java.net.ConnectException: Connection refused: connect; No available router to destination at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:173)