Accessing my own EJB in WebSphere Commerce Server 5.1
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Angus_Lee
Posted On:   Tuesday, March 19, 2002 02:25 AM

Hi, I wrote a new Catalog Entry EJB (JansCatalogEntryBean) using VisualAge for Java 3.5.3. I added a JansCatalogEntryAcessBean. Then I exported an EJB JAR and put it in the depoyableEJBs directory in IBM WebSphere Application Server. In WAS Admin Console, I added this EJB to the WCS EJB Container. Then I have a WCS command which I wrote. When this command tried to new a JansCatalogEntryAccessBean, error 500 occurred. The error message was: Server caught unhandled exception from servlet [WCS Request Servlet]: com/ibm/commerce/janscatalog/objects/JansCatalogEntryAccessBean In the wcs.log, I found these lines: [02.03.19 17:49:08:119 CST] 509701c ServletInstan X Uncaught service() exception thrown by servlet {0}: {   More>>

Hi,

I wrote a new Catalog Entry EJB (JansCatalogEntryBean) using VisualAge for Java 3.5.3. I added a JansCatalogEntryAcessBean. Then I exported an EJB JAR and put it in the depoyableEJBs directory in IBM WebSphere Application Server.

In WAS Admin Console, I added this EJB to the WCS EJB Container. Then I have a WCS command which I wrote. When this command tried to new a JansCatalogEntryAccessBean, error 500 occurred. The error message was:
Server caught unhandled exception from servlet [WCS Request Servlet]: com/ibm/commerce/janscatalog/objects/JansCatalogEntryAccessBean

In the wcs.log, I found these lines:
[02.03.19 17:49:08:119 CST] 509701c ServletInstan X Uncaught service() exception thrown by servlet {0}: {1}
"WCS Request Servlet"
javax.servlet.ServletException: com/ibm/commerce/janscatalog/objects/JansCatalogEntryAccessBean
at javax.servlet.ServletException. (ServletException.java:161)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:598)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:353)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:729)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:655)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:338)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:175)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:93)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)

[02.03.19 17:49:08:169 CST] 509701c ServletInstan X Uncaught service() exception root cause {0}: {1}
"WCS Request Servlet"
java.lang.NoClassDefFoundError: com/ibm/commerce/janscatalog/objects/JansCatalogEntryAccessBean
at com.ibm.commerce.janscatalog.commands.ItemBaseCmdImpl.performExecute(ItemBaseCmdImpl.java)
at com.ibm.commerce.command.ECCommandTarget.executeCommand(ECCommandTarget.java)
at com.ibm.sfc.cmd.TargetableCommandImpl.execute(TargetableCommandImpl.java)
at com.ibm.commerce.command.ControllerCommandImpl.execute(ControllerCommandImpl.java)
at com.ibm.commerce.webcontroller.ControllerCmdExecUnit.execute(ControllerCmdExecUnit.java)
at com.ibm.commerce.webcontroller.WebController.executeTransaction(WebController.java(Compiled Code))
at com.ibm.commerce.webcontroller.WebController.processRequest(WebController.java)
at com.ibm.commerce.adapter.HttpAdapterImpl.processRequest(HttpAdapterImpl.java)
at com.ibm.commerce.server.RequestServlet.service(RequestServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:580)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:353)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:729)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:655)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:338)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:175)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:93)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)

[02.03.19 17:49:08:249 CST] 509701c WebGroup X [Servlet Error]-[{0}]: {1}: {2}
"WCS Request Servlet"
"Server caught unhandled exception from servlet [WCS Request Servlet]: com/ibm/commerce/janscatalog/objects/JansCatalogEntryAccessBean"
com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught unhandled exception from servlet [WCS Request Servlet]: com/ibm/commerce/janscatalog/objects/JansCatalogEntryAccessBean
at javax.servlet.ServletException. (ServletException.java:132)
at com.ibm.websphere.servlet.error.ServletErrorReport. (ServletErrorReport.java:43)
at com.ibm.servlet.engine.webapp.WebAppErrorReport. (WebAppErrorReport.java:32)
at com.ibm.servlet.engine.webapp.UncaughtServletException. (UncaughtServletException.java:11)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:355)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:175)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:93)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)

Could anyone please suggest to me what's wrong there? Thank you for your help.

Angus Lee

   <<Less
About | Sitemap | Contact