posted 18 years ago
hi all,
Our application has been running well for few months. It's running in Websphere 6.0.2.7
Recently, we found out that occasionally there is exception thrown from when our application is looking up for data source.
The exception is as followed :
[03/01/06 9:52:18:954 WST] 0001e41f SystemErr R com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is java.lang.ClassNotFoundException: com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl$1.run(ConnectionFactoryBuilderImpl.java(Compiled Code))
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java(Compiled Code))
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java(Compiled Code))
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java(Compiled Code))
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java(Compiled Code))
at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1969)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java(Compiled Code))
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java(Compiled Code))
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java(Compiled Code))
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java(Compiled Code))
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java(Compiled Code))
at javax.naming.InitialContext.lookup(InitialContext.java(Inlined Compiled Code))
From exception message, it seem like there is certain library(jar file) missing in our Webpshere installation.
Can someone please higlight to me what is the library required here? or is there something that we had done wrongly?
thanks.