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

 A fix is available

4.0.5: WebSphere Application Server Version 4.0 Fix Pack 5 (Version 4.0.5)



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 number PQ68146
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-11-12
Closed date 2002-11-12
Last modified date 2002-11-12

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

APAR is sysrouted TO one or more of the following:

Modules/Macros
EJBCONTR          

SRLS

Fix information
Fixed component name WEBSPHERE AE AI
Fixed component ID 5630A2200

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ68146
IBM Group: Software Group
Modified date: Nov 12, 2002