aspose file tools*
The moose likes Websphere and the fly likes J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection" Watch "J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection" New topic
Author

J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection

ganta gopal
Greenhorn

Joined: Feb 05, 2009
Posts: 15
Hi All,

I am getting an exception in server log files.
I am using websphere application version 6.1.0.29.


J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection WSRdbManagedConnectionImpl@595e595e from resource jdbc/pi_oracle. Caught exception: com.ibm.ws.exception.WsException: DSRA9110E: Connection is closed.


at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:241)
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:190)
at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java:389)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.dissociate(WSJdbcConnection.java:1384)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.dissociateConnections(WSRdbManagedConnectionImpl.java:857)
at com.ibm.ejs.j2c.MCWrapper.cleanup(MCWrapper.java:1451)
at com.ibm.ejs.j2c.FreePool.returnToFreePool(FreePool.java:494)
at com.ibm.ejs.j2c.PoolManager.release(PoolManager.java:1805)
at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java:2300)
at com.ibm.ejs.j2c.LocalTransactionWrapper.afterCompletion(LocalTransactionWrapper.java:1234)
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.driveSynchronization(LocalTranCoordImpl.java:1614)
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.informSynchronizations(LocalTranCoordImpl.java:1508)
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.cleanup(LocalTranCoordImpl.java:1230)
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.end(LocalTranCoordImpl.java:1337)
at com.ibm.ws.webcontainer.webapp.WebAppTransactionCollaborator.postInvoke(WebAppTransactionCollaborator.java:348)
at com.ibm.ws.wswebcontainer.webapp.WebApp.transactionPostInvoke(WebApp.java:1269)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:126)
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.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: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:1497)

Please advice
ganta gopal
Greenhorn

Joined: Feb 05, 2009
Posts: 15
Hi All,

Just to add more to the above exception i found that I am creating a prepared statement from a connection but i am not execution the prepared statement since it is not satisfying some condition so when i am closing the prepared statement it is trhowing a null pointer exception.

My environment is WAS 6.1.0.29 , DB 10g, jdbc driver version 9.0.2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection