• Post Reply Bookmark Topic Watch Topic
  • New Topic

CMP access time Exception

 
raghu pathi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

Any one can solve this error.
i have using WSAD5.0.1 cmp access time following error was came


ExceptionUtil E CNTR0019E: Non-application exception occurred while processing method "findByPrimaryKey". Exception data: javax.ejb.EJBException: Optimistic concurrency not allowed with EJB commit option A
at com.ibm.ejs.container.ContainerManaged2_0BeanO.getAccessIntent(ContainerManaged2_0BeanO.java:550)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanStatefulInstanceExtensionImpl.getAccessIntent(ConcreteBeanStatefulInstanceExtensionImpl.java:361)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanStatefulInstanceExtensionImpl.getRecordForLoad(ConcreteBeanStatefulInstanceExtensionImpl.java:214)
at com.ibm.ws.ejbpersistence.beanextensions.CBStatefulPersistor.executeLoad(CBStatefulPersistor.java:281)
at com.ibm.ws.ejbpersistence.beanextensions.CBReadyState.ejbLoad(CBReadyState.java:29)
at com.ibm.ws.ejbpersistence.beanextensions.CBStatefulPersistor.ejbLoad(CBStatefulPersistor.java:116)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanStatefulInstanceExtensionImpl.ejbLoad(ConcreteBeanStatefulInstanceExtensionImpl.java:148)
at com.bank.customer.ConcreteCustomer_c2d72f12.ejbLoad(ConcreteCustomer_c2d72f12.java:80)
at com.ibm.ejs.container.ContainerManaged2_0BeanO.loadForEnlist(ContainerManaged2_0BeanO.java:319)
at com.ibm.ejs.container.ContainerManaged2_0BeanO.load(ContainerManaged2_0BeanO.java:374)
at com.ibm.ejs.container.EntityBeanO.activate(EntityBeanO.java:562)
at com.ibm.ejs.container.activator.OptAEntityActivationStrategy.doActivation(OptAEntityActivationStrategy.java:131)
at com.ibm.ejs.container.activator.OptAEntityActivationStrategy.atActivate(OptAEntityActivationStrategy.java:324)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:518)
at com.ibm.ejs.container.EJSHome.activateBean_Common(EJSHome.java:1216)
at com.ibm.ejs.container.EJSHome.activateBean(EJSHome.java:1064)
at com.bank.customer.EJSCMPCustomerHomeBean_c2d72f12.findByPrimaryKey(EJSCMPCustomerHomeBean_c2d72f12.java:68)
at com.bank.customer.EJSRemoteCMPCustomerHome_c2d72f12.findByPrimaryKey(EJSRemoteCMPCustomerHome_c2d72f12.java:83)
at com.bank.customer._EJSRemoteCMPCustomerHome_c2d72f12_Stub.findByPrimaryKey(_EJSRemoteCMPCustomerHome_c2d72f12_Stub.java:286)
at in.co.banksystemweb.actions.ValidationAction.perform(ValidationAction.java:93)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)

[8/4/04 12:28:43:741 IST] 3864ac58 SystemOut O Null Pointer Exception :java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: ; nested exception is:
javax.ejb.EJBException: Optimistic concurrency not allowed with EJB commit option A
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!