File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes  J2CA0081E: Method cleanup failed while trying to execute method cleanup in WAS 7 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 in WAS 7" Watch " J2CA0081E: Method cleanup failed while trying to execute method cleanup in WAS 7" New topic
Author

J2CA0081E: Method cleanup failed while trying to execute method cleanup in WAS 7

Manoj Maniraj
Ranch Hand

Joined: Mar 25, 2009
Posts: 38
MCWrapper E J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection WSRdbManagedConnectionImpl@25282528 from resource jdbc/DS. Caught exception: java.lang.NullPointerException
at oracle.jdbc.driver.OracleStatement.getUpdateCount(OracleStatement.java:3226)
at com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper.getUpdateCount(InternalGenericDataStoreHelper.java:371)
at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.closeWrapper(WSJdbcPreparedStatement.java:475)
at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java:240)
at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java:193)
at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.closeChildWrappers(WSJdbcObject.java:293)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.dissociate(WSJdbcConnection.java:1847)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.dissociateConnections(WSRdbManagedConnectionImpl.java:1047)
at com.ibm.ejs.j2c.MCWrapper.cleanup(MCWrapper.java:1509)
at com.ibm.ejs.j2c.FreePool.returnToFreePool(FreePool.java:512)
at com.ibm.ejs.j2c.PoolManager.release(PoolManager.java:1862)
at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java:2378)
at com.ibm.ejs.j2c.LocalTransactionWrapper.afterCompletion(LocalTransactionWrapper.java:1251)
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.driveSynchronization(LocalTranCoordImpl.java:1701)
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.informSynchronizations(LocalTranCoordImpl.java:1599)
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.cleanup(LocalTranCoordImpl.java:1316)
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.end(LocalTranCoordImpl.java:1428)
at com.ibm.ws.webcontainer.collaborator.WebAppTransactionCollaboratorImpl.postInvoke(WebAppTransactionCollaboratorImpl.java:332)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:1244)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:557)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:607)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:984)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1069)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)

Im facing the above issue in WAS 7.0.0.23. But the code is works fine in WAS 6.1. Any idea how to resolve this?

Appreciate help!!


http://manojmaniraj.blogspot.com
Anton Novopashin
Greenhorn

Joined: Feb 25, 2008
Posts: 19
Hi, You need to update to latest service pack.
And also update to latest oracle driver.

Good article
Understanding connection transitions: Avoiding multi-threaded access to a JCA connection in WebSphere Application Server

OCJP (1Z0-851).
Integration Developer (000-607).
WAS Admin (000-377).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2CA0081E: Method cleanup failed while trying to execute method cleanup in WAS 7