PQ54111, 4.0.1: CONM6000W error with one-phase CMP
 Downloadable files
 
Abstract
One-phase commit regression in WebSphere® Application Server V4.0.1 when involving Container Managed Persistence Entity Bean and Session Bean
 
Download Description
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

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.

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.

SOLUTION:
Corrected code in server runtime that was causing erroneous return of two DataSource instances.
 
Prerequisites
None
 
URL LANGUAGE SIZE(Bytes)
readme.txt US English 3039
 
 
Installation instructions
Please refer to the readme.txt for installation instructions
 
Download package
What is DD?
DOWNLOAD RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
PQ54111 11/2/2001 US English 891913 FTP DD
 
Technical support
1-800-IBM-SERV (U.S. Only)
 
Problems (APARs) fixed
PQ54111
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > EJB Container
Operating system(s): HP-UX
Software version: 4.0.1
Software edition:
Reference #: 4000986
IBM Group: Software Group
Modified date: Feb 25, 2005