PQ54111: ONE-PHASE COMMIT REGRESSION IN WAS 4.0.

 A fix is available

PQ54111, 4.0.1: CONM6000W error with one-phase CMP



APAR status
Closed as program error.

Error description
While initializing a servlet in WCS, the exception
"CONM6000W: Illegal use of 1PC resource in transaction".
InfoCenter documentation says this occurs when trying to
prepare a one-phase-commit resource for a two-phase commit.
The same code worked in WAS 3.5x.
Local fix
Test fix provided.  Efix required for deployment.
Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users of    *
*                 CMP EntityBeans and SessionBeans that share  *
*                 the same JDBC DataSource, looked up in the   *
*                 global JNDI namespace                        *
****************************************************************
* PROBLEM DESCRIPTION: Illegal use of 1PC resource message     *
*                      when sharing DataSource between CMP     *
*                      EntityBean and SessionBean              *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When using a CMP EntityBean and a SessionBean that are sharing
the same JDBC DataSource, the SessionBean will erroneously
obtain a different datasource instance than the CMP bean,
resulting in the message ILLEGAL USE OF 1PC RESOURCE IN
TRANSACTION because the transaction manager requires a 2PC
resource if two datasource instances are used.
Problem conclusion
Corrected code in server runtime that was causing erroneous
return of two DataSource instances.
Temporary fix Comments
APAR information
APAR number PQ54111
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2001-10-30
Closed date 2001-11-02
Last modified date 2001-11-02

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
RUNTIME          

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 #: PQ54111
IBM Group: Software Group
Modified date: Nov 2, 2001