wood burning stoves 2.0
The moose likes Websphere and the fly likes ClassNotFound Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "ClassNotFound" Watch "ClassNotFound" New topic


Huang Jian Tian

Joined: Oct 31, 2004
Posts: 14
hi all,
Our application has been running well for few months. It's running in Websphere
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?

Viking Kethineedi

Joined: Mar 16, 2006
Posts: 14
I have the same problem too. Could you resolve your issue? if so, can you please send me the solution.
Huang Jian Tian

Joined: Oct 31, 2004
Posts: 14
Hi Viking,
Unfortunately, i still haven't managed to find the solution. The error not longer occured at this moment.
I agree. Here's the link: http://aspose.com/file-tools
subject: ClassNotFound
It's not a secret anymore!