Topic
  • No replies
RKL
RKL
1 Post

Pinned topic IICE com.ibm.ejs.container.BeanNotReentrantException

‏2010-07-06T02:32:58Z |
We are encountering following exception during load testing of the application .There are 25 users getting ramped up in 15 minutes ,2 users getting added after every 30 seconds .Are there any configuration or settings required in Session pool /EJB container for distributed environment where Access Services and Session pool residing in One Server and EJB Connector in another server ?Following exception is being caputured in the server logs where Access Services are deployed and looking at the application logs of connector at server 1 (Connector) ,transaction keeps on running even after exception .Any pointers will be appreciated.!!

7/2/10 8:20:14:551 EDT 00000026 SystemOut O INFO - Obtaining user with cost 0
7/2/10 8:20:14:551 EDT 00000026 SystemOut O INFO - Best user (cost 0): com.venetica.vbr.client.User@10821082
7/2/10 8:20:17:257 EDT 000000df SystemOut O ERROR - COEC0550E: An error occurred while examining repositories in user session.
7/2/10 8:20:17:259 EDT 000000df SystemOut O DEBUG - Exception details:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
com.ibm.ejs.container.BeanNotReentrantException:
>> SERVER (id=4773e3aa, host=steecmapu1n2.nam.nsroot.net) TRACE START:
>> com.ibm.ejs.container.BeanNotReentrantException: TX_IN_METHOD: wrong transaction
>> at com.ibm.ejs.container.CMStatefulBeanO.enlist(CMStatefulBeanO.java:197)
>> at com.ibm.ejs.container.activator.StatefulSessionActivationStrategy.atActivate(StatefulSessionActivationStrategy.java:337)
>> at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:597)
>> at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3535)
>> at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2933)
>> at com.venetica.vbr.ejb.access.EJSRemoteStatefulAccessServices_92757175.isLoggedOn(Unknown Source)
>> at com.venetica.vbr.ejb.access._EJSRemoteStatefulAccessServices_92757175_Tie.isLoggedOn(_EJSRemoteStatefulAccessServices_92757175_Tie.java:615)
>> at com.venetica.vbr.ejb.access._EJSRemoteStatefulAccessServices_92757175_Tie._invoke(_EJSRemoteStatefulAccessServices_92757175_Tie.java:425)
>> at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:621)
>> at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:474)
>> at com.ibm.rmi.iiop.ORB.process(ORB.java:503)
>> at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
>> at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2703)
>> at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2577)
>> at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
>> at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
>> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
>> SERVER (id=4773e3aa, host=steecmapu1n2.nam.nsroot.net) TRACE END.

at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:218)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:84)
at com.venetica.vbr.ejb.access._AccessServices_Stub.isLoggedOn(_AccessServices_Stub.java:487)
at com.venetica.vbr.client.Repository.getIsLoggedOn(Repository.java:1083)
at com.venetica.vbr.client.session.SessionPool$CheckedOutReference.verify(SessionPool.java:992)
at com.venetica.vbr.client.session.SessionPool.releaseUser(SessionPool.java:871)
at com.venetica.vbr.client.session.SessionPool.releaseRepository(SessionPool.java:841)
at com.citi.fdsr.common.utils.FDSRConnectionPool.releaseFDSRRepository(FDSRConnectionPool.java:528)
at com.citi.fdsr.fdsrserviceimpl.QueryService.executeRepositoryQuery(QueryService.java:422)
at com.citi.fdsr.fdsrservice.FDSRServiceSoapBindingImpl.executeRepositoryQuery(FDSRServiceSoapBindingImpl.java:37)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:464)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:425)
at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)
at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:204)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:152)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:831)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1037)
at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:644)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by:
com.ibm.ejs.container.BeanNotReentrantException:
>> SERVER (id=4773e3aa, host=steecmapu1n2.nam.nsroot.net) TRACE START:
>> com.ibm.ejs.container.BeanNotReentrantException: TX_IN_METHOD: wrong transaction
>> at com.ibm.ejs.container.CMStatefulBeanO.enlist(CMStatefulBeanO.java:197)
>> at com.ibm.ejs.container.activator.StatefulSessionActivationStrategy.atActivate(StatefulSessionActivationStrategy.java:337)
>> at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:597)
>> at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3535)
>> at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2933)
>> at com.venetica.vbr.ejb.access.EJSRemoteStatefulAccessServices_92757175.isLoggedOn(Unknown Source)
>> at com.venetica.vbr.ejb.access._EJSRemoteStatefulAccessServices_92757175_Tie.isLoggedOn(_EJSRemoteStatefulAccessServices_92757175_Tie.java:615)
>> at com.venetica.vbr.ejb.access._EJSRemoteStatefulAccessServices_92757175_Tie._invoke(_EJSRemoteStatefulAccessServices_92757175_Tie.java:425)
>> at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:621)
>> at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:474)
>> at com.ibm.rmi.iiop.ORB.process(ORB.java:503)
>> at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
>> at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2703)
>> at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2577)
>> at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
>> at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
>> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
>> SERVER (id=4773e3aa, host=steecmapu1n2.nam.nsroot.net) TRACE END.

at com.ibm.ejs.container.CMStatefulBeanO.enlist(CMStatefulBeanO.java:197)
at com.ibm.ejs.container.activator.StatefulSessionActivationStrategy.atActivate(StatefulSessionActivationStrategy.java:337)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:597)
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3535)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2933)
at com.venetica.vbr.ejb.access.EJSRemoteStatefulAccessServices_92757175.isLoggedOn(Unknown Source)
at com.venetica.vbr.ejb.access._EJSRemoteStatefulAccessServices_92757175_Tie.isLoggedOn(_EJSRemoteStatefulAccessServices_92757175_Tie.java:615)
at com.venetica.vbr.ejb.access._EJSRemoteStatefulAccessServices_92757175_Tie._invoke(_EJSRemoteStatefulAccessServices_92757175_Tie.java:425)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:621)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:474)
at com.ibm.rmi.iiop.ORB.process(ORB.java:503)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2703)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2577)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
... 1 more
7/2/10 8:20:17:260 EDT 000000df SystemOut O ERROR - COEC0549E: The released user session is in invalid state.
7/2/10 8:20:17:260 EDT 000000df SystemOut O INFO - Releasing user (broken: true)
7/2/10 8:20:17:263 EDT 000000df SystemOut O INFO - COEC0507I: The session for user FederatedSearcNYTeam on repository FDSR_CDOCS_CZ is expiring (broken: true).
7/2/10 8:20:17:264 EDT 000000df SystemOut O INFO - COEC0510I: User FederatedSearcNYTeam is logging out of repository FDSR_CDOCS_CZ.
7/2/10 8:20:17:452 EDT 000000df SystemOut O WARN - COEC0509W: An error occurred while logging user FederatedSearcNYTeam out of repository FDSR_CDOCS_CZ.
7/2/10 8:20:17:452 EDT 000000df SystemOut O DEBUG - Exception details:
com.venetica.vbr.client.VeniceBridgeException: COEJ0003E: An unexpected error occurred.
at com.venetica.vbr.ejb.access.AccessServicesImpl.isLoggedOn(AccessServicesImpl.java:408)
at com.venetica.vbr.ejb.access.EJSRemoteStatefulAccessServices_92757175.isLoggedOn(Unknown Source)
at com.venetica.vbr.ejb.access._EJSRemoteStatefulAccessServices_92757175_Tie.isLoggedOn(_EJSRemoteStatefulAccessServices_92757175_Tie.java:615)
at com.venetica.vbr.ejb.access._EJSRemoteStatefulAccessServices_92757175_Tie._invoke(_EJSRemoteStatefulAccessServices_92757175_Tie.java:425)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:621)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:474)
at com.ibm.rmi.iiop.ORB.process(ORB.java:503)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2703)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2577)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)