Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassNotFound

 
Huang Jian Tian
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Viking Kethineedi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have the same problem too. Could you resolve your issue? if so, can you please send me the solution.
Thanks,
K
 
Huang Jian Tian
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Viking,
Unfortunately, i still haven't managed to find the solution. The error not longer occured at this moment.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic