PQ86657; 5.0.2.5, 5.1.0.4: Return XAException info in SystemException
 Downloadable files
 
Abstract
XAException needs to be added to the SystemException thrown on a receipt of a TransactionAssociationException.
 
Download Description
PQ86657 resolves the following problem:

ERROR DESCRIPTION
XAException information to be added to a SystemException thrown when a TransactionAssociationException is caught.

USERS AFFECTED
All WebSphere Application Server users of XA resources.

PROBLEM DESCRIPTION
XAException.errorCode is not reported after an enlistResource() call fails.

RECOMMENDATION
When a resource is enlisted in a transaction, the enlist may fail, in which case a TransactionAssociationException is raised. This exception contains the original XAException.errorCode. However, before returning to the caller, the TransactionAssociationException is converted to a
SystemException at which point the original XAException.errorCode is lost. This fix causes the XAEXception.errorCode to be returned in the SystemException following a TransactionAssociationException as a result of the enlistResource method. The errorCode is added to the end of the message used to construct the SystemException, after the string XAER_ERROR_CODE=.

For WebSphere Application Server Version 5.1, this fix causes the XAEXception to be returned in the SystemException following a TransactionAssociationException as a result of the enlistResource method. The XAException is added to the SystemException by calling initCause().
 
Prerequisites
Please download the UpdateInstaller below to install this fix.
 
URL LANGUAGE SIZE(Bytes)
UpdateInstaller for V5.0 US English 7000000
UpdateInstaller for V5.1 US English 7000000
 
 
Installation Instructions
Please review the readme.txt for detailed installation instructions.
 
URL LANGUAGE SIZE(Bytes)
Readme for V5.0 US English 2745
Readme for V5.1 US English 2691
 
Download package
What is DD?
Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
PQ86657_Fix_502 6/16/2004 US English 10562 FTP DD
PQ86679_Fix_510 6/7/2004 US English 19477 FTP DD
 
Technical support
1-800-IBM-SERV (U.S. Only)
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
Problems (APARS) fixed
PQ86657
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java Transaction Service (JTS)
Operating system(s): Windows
Software version: 5.1.0.4
Software edition:
Reference #: 4007264
IBM Group: Software Group
Modified date: Jun 17, 2004