Topic
No replies
SystemAdmin
SystemAdmin
1660 Posts
ACCEPTED ANSWER

Pinned topic J2C Connection issue

‏2009-06-03T23:32:37Z |
I am calling a EJB from a servert.
That EJB will lookup an resource adaptor and execute some logic.
Once that is done I am closing the connection to J2
First call to EJB works fine. But in second call I am getting following error. Third call again works, but fourth fails and so on.
I am using WAS 6.1.0.23. Could you please help on this?

/3/09 18:12:13:272 CDT] 00000032 ManagedConnec 3 invoke connection spec:serviceName={urn:lim.idl.eia.sbc.com}LimSoapJmsService,endpointName={urn:lim.idl.eia.sbc.com}LimSoapJmsPort,wsdlURL=file:/C:/IONA/Connector/LIM/lim_LimFacade_xsd-any_JMS_all.wsdl,busConfigURL=null,serviceClass=interface com.oms.sbcconnector.lim.jaxws.LimLimFacadePortType,address=null method=public boolean java.lang.Object.equals(java.lang.Object)
6/3/09 18:12:13:272 CDT 00000032 MCWrapper E J2CA0079E: Method getNoTransactionWrapper has detected an internal illegal state and is throwing an IllegalStateException. The exception is: java.lang.IllegalStateException: getNoTransactionWrapper: illegal state exception. State = STATE_ACTIVE_FREE
at com.ibm.ejs.j2c.MCWrapper.getNoTransactionWrapper(MCWrapper.java:1098)
at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(ConnectionManager.java:1280)
at com.ibm.ejs.j2c.ConnectionManager.reAssociate(ConnectionManager.java:1601)
at com.ibm.ejs.j2c.HandleList.reAssociate(HandleList.java:380)
at com.ibm.ejs.j2c.HandleCollaborator.preInvoke(HandleCollaborator.java:76)
at com.ibm.ejs.container.StatelessBeanO.preInvoke(StatelessBeanO.java:382)
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3565)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2933)
at com.test.connectortest.EJSRemoteStatelessConnectorProxy_69383315.doCallInterface(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727)
at java.security.AccessController.doPrivileged(AccessController.java:241)
at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1123)
at $Proxy62.doCallInterface(Unknown Source)
at com.test.connectortest._ConnectorProxy_Stub.doCallInterface(_ConnectorProxy_Stub.java:270)
at com.sbc.test.tester.TestConn.callInterface(TestConn.java:107)
at com.sbc.test.tester.ConnectorHelper.executeRequest(ConnectorHelper.java:56)
at com.sbc.test.tester.ControlServlet.doExecute(ControlServlet.java:58)
at com.sbc.test.tester.ControlServlet.doPost(ControlServlet.java:30)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:591)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
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:1466)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
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.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
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:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

~Vinaya
Walking on water and developing software from specification is easy , provided both are frozen.