jndi namespace error
--------------------------------
Hi friends,
I have configured the jndi for the application and the test connection was succesfull and later the application is not getting connected to the database and showing the error on systemout.log as follows,
javax.naming.ConfigurationException [Root exception is javax.naming.NameNotFoundException: Name comp/env/jdbc not found in context /"java:/".]
at com.ibm.ws.naming.java.javaURLContextImpl.throwConfigurationExceptionWithDefaultJavaNS(javaURLContextImpl.java:411)
at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:388)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:201)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:142)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
But when I restart the application manually, the problem get resolved and after a while the same error happens again.
Requesting ur help to solve this issue and why this is happening.
Thanks and Regards
Win Najeem
--------------------------------
Posted By: winnajeem at Dec 6 2009 6:18AM