Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java.lang.NoClassDefFoundError

3 views
Skip to first unread message

evgruij...@gmail.com

unread,
Aug 23, 2005, 8:10:16 AM8/23/05
to
Hi,

I have a deployed an ear file containing one ejb jar en one jar called
lt.jar containing all my other classes. It seems like WebSphere can
find some of the classes I have included in the lt.jar (e.g. GPMODEL in
stack trace 2), but not the class BULLDOG. I have put my lt.jar as a
shared library but that didn't help.

Stack trace 1 shows the noclassdeffounderror when the BULLDOG class is
accessed directly from my bean class (REQHANDLERBEAN). Stack trace 2
show the noclassdeffounderror, but now the BULLDOG class is accessed
from the GPMODEL class which is sitting in the same jar as the BULLDOG
class.

The only special thing I can find in the BULLDOG class is a public
static final variable, see BULLDOG code snippet below.

Any help would be appreciated.

Regards,
Edwin

===============
BULLDOG snippet
===============
public static final BULLDOGCONTROLLER bulldog =
BULLDOGCONTROLLER.getBulldogController();


========
Trace 1
========

[8/23/05 13:02:31:316 BST] 1e29696b ExceptionUtil E CNTR0020E:
Non-application exception occurred while processing method
"getRuleType" on bean "BeanId(Lifetime BO (build
1)#lt-ejb.jar#LifetimeBean, null)". Exception data:
java.lang.NoClassDefFoundError: ifc/bulldog/BULLDOG
at
ifc.bulldog.BULLDOGWRAPPER.getBulldog(BULLDOGWRAPPER.java:13)
at
ifc.bean.model.REQHANDLERBEAN.getRuleType(REQHANDLERBEAN.java:228)
at
ifc.bean.model.EJSRemoteStatelessLifetimeBean_c64b325e.getRuleType(Unknown
Source)
at
ifc.bean.model._EJSRemoteStatelessLifetimeBean_c64b325e_Tie.getRuleType(_EJSRemoteStatelessLifetimeBean_c64b325e_Tie.java:328)
at
ifc.bean.model._EJSRemoteStatelessLifetimeBean_c64b325e_Tie._invoke(_EJSRemoteStatelessLifetimeBean_c64b325e_Tie.java:103)
at
com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:602)
at
com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:455)
at com.ibm.rmi.iiop.ORB.process(ORB.java:402)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1685)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2173)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:64)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))


========
Trace 2
========
[8/23/05 13:02:35:862 BST] 1e30a96b ExceptionUtil E CNTR0020E:
Non-application exception occurred while processing method "doGet" on
bean "BeanId(Lifetime BO (build 1)#lt-ejb.jar#LifetimeBean, null)".
Exception data: java.lang.NoClassDefFoundError: ifc/bulldog/BULLDOG
at gp.brick.model.GPMODEL.?(Unknown Source)
at gp.brick.model.GPMODEL.<init>(Unknown Source)
at gp.servlet.proces.GPSERVLET.getModel(GPSERVLET.java:434)
at gp.servlet.proces.GPSERVLET.setSession(GPSERVLET.java:356)
at gp.servlet.proces.GPSERVLET.getSession(GPSERVLET.java:297)
at gp.servlet.proces.GPSERVLET.doPost(GPSERVLET.java:93)
at lip.servlet.proces.SERVLET.doGetStart(SERVLET.java:168)
at gp.servlet.proces.GPSERVLET.doGet(GPSERVLET.java:51)
at ifc.bean.model.REQHANDLERBEAN.doGet(REQHANDLERBEAN.java:102)
at
ifc.bean.model.EJSRemoteStatelessLifetimeBean_c64b325e.doGet(Unknown
Source)
at
ifc.bean.model._EJSRemoteStatelessLifetimeBean_c64b325e_Tie.doGet(_EJSRemoteStatelessLifetimeBean_c64b325e_Tie.java:207)
at
ifc.bean.model._EJSRemoteStatelessLifetimeBean_c64b325e_Tie._invoke(_EJSRemoteStatelessLifetimeBean_c64b325e_Tie.java:79)
at
com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:602)
at
com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:455)
at com.ibm.rmi.iiop.ORB.process(ORB.java:402)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1685)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2173)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:64)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

jackpot

unread,
Aug 23, 2005, 2:38:48 PM8/23/05
to
Which type of classloading mode are you using PARENT_FIRST or
PARENT_LAST ?

0 new messages