PK52881: J2CA0081E ERROR MAY CAUSE JDBC CONNECTIONS TO LEAK

 Fixes are available

6.1.0.15 WebSphere Application Server V6.1 Fix Pack 15 for i5/OS
6.1.0.13 WebSphere Application Server V6.1 Fix Pack 13 for AIX
6.1.0.15 WebSphere Application Server V6.1 Fix Pack 15 for AIX
6.1.0.15: WebSphere Application Server V6.1 Fix Pack 15 for HP-UX
6.1.0.15: WebSphere Application Server V6.1 Fix Pack 15 for Windows
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for Windows
6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for i5/OS
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for i5/OS
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for HP-UX
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Linux
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Solaris
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for HP-UX
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Windows
6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for AIX
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for Solaris
6.1.0.15: WebSphere Application Server V6.1 Fix Pack 15 for Linux
6.1.0.15: WebSphere Application Server V6.1 Fix Pack 15 for Solaris
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for Linux
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for AIX
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for HP-UX
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for i5/OS
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Linux
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Solaris
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Windows
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server



APAR status
Closed as program error.

Error description
Multiple instances of the following error can be seen in the
application server servant output.  If this error is
encountered, a physical connection to the database will not be
closed.

Trace: 2007/05/30 18:07:18.952 01 t=9BB448 c=UNK key=P8
(13007002)
  ThreadId: 0000003c
  FunctionName: com.ibm.ejs.j2c.MCWrapper
  SourceId: com.ibm.ejs.j2c.MCWrapper
  Category: SEVERE
  ExtendedMessage: BBOO0220E: J2CA0081E: Method cleanup failed
while trying to execute method cleanup on ManagedConnection
WSRdbManagedConnectionImpl@3d723d72 from resource
jdbc/DB2DATASOURCE5.
Caught exception: com.ibm.ws.exception.WsException: DSRA0080E:
An exception was received by the Data Store Adapter. See
original exception message: Cannot call 'cleanup' on a
ManagedConnection while it is still in a transaction..
.at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException
.at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException
.at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterExcep
  tion
.at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.
  cleanupTransactions
.at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanup
.at com.ibm.ejs.j2c.MCWrapper.cleanup
.at com.ibm.ejs.j2c.FreePool.returnToFreePool
.at com.ibm.ejs.j2c.PoolManager.release
.at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager
.at com.ibm.ejs.j2c.RRSLocalTransactionWrapper.afterCompletion
.at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.
  informSynchronizations
.at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.cleanup
.at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.end
.at com.ibm.ws.webcontainer.webapp.WebAppTransactionCollaborat
  or.postInvoke
.at com.ibm.ws.wswebcontainer.webapp.WebApp.transactionPostIn
  voke
.at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequ
  est
...
.at com.ibm.ws.util.ThreadPool$ZOSWorker.run
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V6.1 for z/OS using DB2 Universal Drive      *
*                 type-2 z/OS connectivity and local           *
*                 transaction support.                         *
****************************************************************
* PROBLEM DESCRIPTION: Multiple instances of J2CA0081E:        *
*                      Method cleanup failed -- cannot call    *
*                      'cleanup' on a ManagedConnection        *
*                      while it is still  in a transaction --  *
*                      causing connection leaking and          *
*                      subsequent                              *
*                      ConnectionWaitTimeoutException.         *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Multiple instances of the following error can be seen in the
application server servant output.  If this error is
encountered, a physical connection to the database will not be
closed.

Trace: 2007/05/30 18:07:18.952 01 t=9BB448 c=UNK key=P8
(13007002)
ThreadId: 0000003c
FunctionName: com.ibm.ejs.j2c.MCWrapper
SourceId: com.ibm.ejs.j2c.MCWrapper
Category: SEVERE
ExtendedMessage: BBOO0220E: J2CA0081E: Method cleanup failed
while trying to execute method cleanup on ManagedConnection
WSRdbManagedConnectionImpl@3d723d72 from resource
jdbc/DB2DATASOURCE5.
Caught exception: com.ibm.ws.exception.WsException: DSRA0080E:
An exception was received by the Data Store Adapter. See
original exception message: Cannot call 'cleanup' on a
ManagedConnection while it is still in a transaction..
.at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException
.at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException
.at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterExcep

tion
.at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.
cleanupTransactions
.at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanup
.at com.ibm.ejs.j2c.MCWrapper.cleanup
.at com.ibm.ejs.j2c.FreePool.returnToFreePool
.at com.ibm.ejs.j2c.PoolManager.release
.at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager
.at com.ibm.ejs.j2c.RRSLocalTransactionWrapper.afterCompletion
.at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.
informSynchronizations
.at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.cleanup
.at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.end
Problem conclusion
Local transaction has been modified to correctly enlisted with
RRS to commit or rollback on a transaction boundary and allow
the connection to be cleanup without J2CA0081E.

APAR PK52881 is currently targeted for inclusion in Service
Level (Fix Pack) 6.1.0.13 of WebSphere Application Server V6.1
for z/OS.
Temporary fix Comments
APAR information
APAR number PK52881
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 610
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2007-09-13
Closed date 2007-10-20
Last modified date 2007-12-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSN    UP
R601 PSN    UP
R610 PSY UK31212    UP07/11/22 P F711

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Current web document: swg1PK52881.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 610
Software edition:
Reference #: PK52881
IBM Group: Software Group
Modified date: Dec 3, 2007