• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BMP entitybean + classpath problem - InvocationTargetException: NoClassDefFoundExc

 
Alpesh Parekh
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic