Groups > Weblogic > WebLogic JNDI > Problem creating an initial context during servlet initialisation




Problem creating an initial context during servlet
initialisation

Problem creating an initial context during servlet initialisation
Wed, 23 Jan 2008 06:42:13 -080
We are currently using Weblogic 8.1.4.

We have an ear with a web app and several EJBs. The web app  contains a servlet
loaded on startup. The servlet performs a JNDI lookup of an EJB.

Under Windows this works correctly.

Under linux, even though the EJBs are deployed before the web app, we get the
following exception

javax.naming.CommunicationException [Root exception is
java.net.ConnectException: t3://xx.xx.xx.xx:yyyy: Destination unreachable;
nested exception is: 
	java.net.ConnectException: connect: Connection refused; No available router to
destination]

Once the ear is fully started, we can get an initial context and lookups work
correctly, so the URL and port number are correct.

Post Reply
about | contact