• Post Reply Bookmark Topic Watch Topic
  • New Topic

Removing stateful bean  RSS feed

 
Giri Prasad
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I am trying to remove stateful bean by using the EJBHome.remove(EJBHandle) method in websphere5.0 from a stateless bean.
It is throwing javax.ejb.RemoveException exception.
Can someone tell me what I am doing wrong. It is very urgent. Please respond quickly
Thanks
 
Ram
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what does the stake trace say ?
 
Giri Prasad
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the responce from the stackTrace
[4/30/03 11:01:05:723 PDT] 6c846f1b SystemErr R javax.ejb.RemoveException
[4/30/03 11:01:05:723 PDT] 6c846f1b SystemErr R at com.ibm.ejs.container.EJSHome.remove(EJSHome.java:2208)
[4/30/03 11:01:05:723 PDT] 6c846f1b SystemErr R at com.sbc.tis.OS.EJSRemoteStatefulOrderStatusHome_d0c96acc.remove(EJSRemoteStatefulOrderStatusHome_d0c96acc.java:142)
[4/30/03 11:01:05:773 PDT] 6c846f1b SystemErr R at com.sbc.tis.OS._OrderStatusHome_Stub.remove(_OrderStatusHome_Stub.java:140)
[4/30/03 11:01:05:773 PDT] 6c846f1b SystemErr R at com.sbc.tis.OS.OsTISSessionBean.TIS_orderstatus(OsTISSessionBean.java:213)
[4/30/03 11:01:05:773 PDT] 6c846f1b SystemErr R at com.sbc.tis.OS.EJSRemoteStatelessOsTISSession_999533f3.TIS_orderstatus(EJSRemoteStatelessOsTISSession_999533f3.java:40)
[4/30/03 11:01:05:773 PDT] 6c846f1b SystemErr R at java.lang.reflect.Method.invoke(Native Method)
[4/30/03 11:01:05:773 PDT] 6c846f1b SystemErr R at com.ibm.rmi.corba.ServantObjectImpl$3.run(ServantObjectImpl.java:223)
[4/30/03 11:01:05:773 PDT] 6c846f1b SystemErr R at java.security.AccessController.doPrivileged(Native Method)
[4/30/03 11:01:05:773 PDT] 6c846f1b SystemErr R at com.ibm.rmi.corba.ServantObjectImpl.invoke(ServantObjectImpl.java:221)
[4/30/03 11:01:05:773 PDT] 6c846f1b SystemErr R at $Proxy1.TIS_orderstatus(Unknown Source)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.sbc.tis.OS._OsTISSession_Stub.TIS_orderstatus(_OsTISSession_Stub.java:260)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at java.lang.reflect.Method.invoke(Native Method)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:323)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[4/30/03 11:01:05:783 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
[4/30/03 11:01:05:793 PDT] 6c846f1b SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Ram,
I'm not sure if this has been mentioned to you before... but your display name is in violation of JavaRanch's naming policy. Please, take a look at the naming policy and edit your profile accordingly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!