wood burning stoves*
The moose likes Websphere and the fly likes BMP entitybean + classpath problem - InvocationTargetException: NoClassDefFoundExc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "BMP entitybean + classpath problem - InvocationTargetException: NoClassDefFoundExc" Watch "BMP entitybean + classpath problem - InvocationTargetException: NoClassDefFoundExc" New topic
Author

BMP entitybean + classpath problem - InvocationTargetException: NoClassDefFoundExc

Alpesh Parekh
Greenhorn

Joined: Aug 05, 2002
Posts: 12
I am deploying an ear file in WEbSphere Enterprise Edition. Also log4j is used for logging purpose.
Bean classes are not able to find this classes.
Jar file containing them is in .ear root.
I am not sure how classpath works here?
Can anybody suggest?
[03.03.19 18:56:55:582 GMT+05:30] 1a987653 ExceptionUtil X CNTR0019E: Non-application exception occurred while processing method loginUser: com.ibm.ejs.container.CreateFailureException: java.lang.reflect.InvocationTargetException; nested exception is:
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: com/trcinc/wdf/util/services/UtilityServiceFactory
at com.gm.util.FusionLog.getLogger(FusionLog.java:983)
at com.gm.util.FusionLog.logInfo(FusionLog.java:411)
at com.gm.fusion.service.mygbp.PSUserManagerEJB.ejbCreate(PSUserManagerEJB.java:52)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.container.StatelessBeanO.<init>(StatelessBeanO.java:96)
at com.ibm.ejs.container.CMStatelessBeanO.<init>(CMStatelessBeanO.java:29)
at com.ibm.ejs.container.CMStatelessBeanOFactory.create(CMStatelessBeanOFactory.java:17)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:941)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:990)
at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:66)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:171)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2152)
at com.gm.fusion.service.mygbp.EJSRemoteStatelessPSUserManager.loginUser(EJSRemoteStatelessPSUserManager.java:244)
at com.gm.fusion.service.mygbp._PSUserManager_Stub.loginUser(_PSUserManager_Stub.java:271)
at com.gm.fusion.process.action.WASPSLoginAction.perform(WASPSLoginAction.java:77)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1619)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1429)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:480)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:286)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)


<b>One life, live it.</b><br /><b>Alpesh</b>
 
 
subject: BMP entitybean + classpath problem - InvocationTargetException: NoClassDefFoundExc
 
Similar Threads
Passing Beans to Java Middle Tier
sun/ awt/ X11GraphicsEnvironment Class Not Found?
Communication Between two Applications
Problem in accessing Session Bean
Naming Exception after deploying an Ear file