PQ54111: ONE-PHASE COMMIT REGRESSION IN WAS 4.0. | |||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
SRLS
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.