PK05365: CNTR0040E AND DSRA9110E ARE LOGGED WHEN RUNNING FINDER METHOD OFAN EJB; THE FIND SUCCEEDS OK, BUT THE MESSAGES ARE LOGGED ANYWAY

 Fixes are available

5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for AIX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Windows
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for HP-UX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Solaris
5.1.1.6: WebSphere Application Server Version 5.1.1 Cumulative Fix 6
5.1.1.7: WebSphere Application Server Version 5.1.1 Cumulative Fix 7
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Linux



APAR status
Closed as program error.

Error description
EXTERNAL SYMPTOMS:
When running a finder on an EJB, the messages
1. CNTR0040E: Finder failure as a result of exception
2. nested exception is:
 com.ibm.websphere.ce.cm.ObjectClosedException: DSRA9110E:
Statement is closed.

MESSAGES LOGGED:
       CNTR0040E and DSRA9110E in the SystemOut.log

This is the full message with java stack
■3/10/05 13:46:57:172 EST 55284112 EJSJDBCFinder E CNTR0040E:
Finder failure as a result of exception
com.ibm.ejs.persistence.EJSPersistenceException: ; nested
exception is:
 at
com.ibm.ejs.persistence.EJSJDBCPersister.returnPreparedStatement
(EJSJDBCPersister.java(Compiled Code))
 at
com.ibm.ejs.persistence.EJSJDBCFinder.close(EJSJDBCFinder.java(C
ompiled Code))
 at
com.ibm.ejs.persistence.CMFinderHelper.destroy(CMFinderHelper.ja
va:286)
 at
com.ibm.ejs.persistence.RemoteEnumeratorImpl.afterCompletion(Rem
oteEnumeratorImpl.java:123)
 at
com.ibm.ejs.util.tran.SyncDriver.afterCompletion(SyncDriver.java
(Compiled Code))

RECREATION STEPS:
   This occurred when running an EJB finder for en EJB 1.1 bean
under the WAS 5.1 test environment of WSAD.  This same message
is not logged when running under the WAS 5.0 test environment.
The WAS test environments are the same as the WebSphere
AppServer base.


SEARCH KEYWORDS:
   CMP EJB finder custom finder
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users of    *
*                 container managed persistence                *
****************************************************************
* PROBLEM DESCRIPTION: CNTR0040E and DSRA9110E messages are    *
*                      logged when running CMP finder method   *
*                      during afterCompletion phase.           *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Resulting from a change in the order of doing synchronizations
during afterCompletion, finder methods in CMP attempt to close
connections that have already been closed in a previous
phase.
Problem conclusion
Process synchronizations in afterCompletion in same order as
as they were originally associated.
The fix for this APAR is currently targeted for inclusion in
fixpack 5.1.1.6 Please refer to the Recommended Updates page
for delivery information:

http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information
APAR number PK05365
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 10W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2005-05-05
Closed date 2005-06-16
Last modified date 2005-06-16

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
TRANSAC          

Publications Referenced

Fix information
Fixed component name WAS BASE 5.0
Fixed component ID 5630A3600

Applicable component levels
R003 PSN    UP
R00A PSN    UP
R00H PSN    UP
R00I PSN    UP
R00P PSN    UP
R00S PSN    UP
R00W PSN    UP
R103 PSY    UP
R10A PSY    UP
R10H PSY    UP
R10I PSY    UP
R10P PSY    UP
R10S PSY    UP
R10W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 10W
Software edition:
Reference #: PK05365
IBM Group: Software Group
Modified date: Jun 16, 2005