PQ62081: NOLOCALCOPIES=TRUE CAUSES ENTITY BEAN REFERENCES TO GET MIXED UP

Fixes are available
WebSphere Application Server Version 3.5 Fix Pack 7 (3.5.7)
EJB Container; 4.0.2-4.0.7: Component Cumulative fix for EJB Container

APAR

APAR status
Closed as program error.

Error description
noLocalCopies=true causes entity bean references to get mixed up
in long-lasting transacations.
The problem appears sporadically on our WebSphere 3.5.3 Advanced
Server installation on AIX 4.3.3 with DB2 7.2. The symptom is
that some entity bean references that are created by doing
findByPrimaryKey early in the transaction at some point suddenly
point to some other object (of the same type). This results in
data corruption.
Local fix
test fix given, tried in test environment, and works.
Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users who   *
*                 set the System Property "NoLocalCopies" to   *
*                 "true".                                      *
****************************************************************
* PROBLEM DESCRIPTION: Users who set the System Property       *
*                      "NoLocalCopies" to "true" may           *
*                      experience a data integrity problem.    *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Users who set the system property "NoLocalCopies" to "true"
could experience data integrity problems if they created a
single PrimaryKey object and re-used this object for several
EJBs.
Problem conclusion
The Container code has been modified to detect when a user
has set "NoLocalCopies" to "true" in order to make a local copy
of just the PrimaryKey Object to avoid any data integrity
problem.
Temporary fix
Changed code to force a local copy of the primary key object to
be created even when noLocalCopies=true.
Comments
APAR information
APAR numberPQ62081
Reported component nameWAS ADVANCED AI
Reported component ID5648C8400
Reported release350
StatusCLOSED PER
PENoPE
HIPERNoHIPER
Submitted date2002-06-10
Closed date2002-07-18
Last modified date2002-11-12

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:

PQ68146

Modules/Macros
EJBCONTR
APAR is sysrouted TO one or more of the following:PQ68146Modules/Macros

Fix information
Fixed component nameWAS ADVANCED AI
Fixed component ID5648C8400

Applicable component levels
R350 PSYUP











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, General
Software version: 350
Reference #: PQ62081
IBM Group: Software Group
Modified date: 2002-11-12