APAR status
Closed as program error.
Error description
In WebSphere Application Server 5.1.1, a NullPointerException is
thrown in com.ibm.ejs.j2c.J2CXAResourceInfo.equals during XA
recovery. XA recovery will only occur if an application server
is stopped abnormally while there are in-flight XA transactions.
When the application server starts again, the transaction
manager tries to recover these transactions. In this case, the
following exception is thrown:
.
J2CA0009E: An exception occurred while trying to instantiate the
ManagedConnectionFactory class
com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory used by
resource JMS$QCF : java.lang.NullPointerException
at
com.ibm.ejs.j2c.J2CXAResourceInfo.equals(J2CXAResourceInfo.java:
265)
at
com.ibm.ws.Transaction.JTA.XARecoveryWrapper.equals(XARecoveryWr
apper.java:108)
at
com.ibm.ws.Transaction.JTA.XARecoveryData.findRecoveryEntry(XARe
coveryData.java:163)
...
Local fix
Delete the files in the <WSAS home>/tranlog directory if it is
not necessary to recover the transactions. Then restart the
application server.
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of JDBC *
* and JCA. *
****************************************************************
* PROBLEM DESCRIPTION: NullPointerException is thrown in *
* com.ibm.ejs.j2c.J2CXAResourceInfo. *
* equals during XA recovery. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
XA recovery will only occur if an application server is stopped
abnormally while there are in-flight XA transactions. When the
application server starts again, the transaction manager tries
to recover these transactions.
The following exception is thrown during XA recovery:
J2CA0009E: An exception occurred while trying to instantiate
the ManagedConnectionFactory class
com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory used by
resource JMS$QCF : java.lang.NullPointerException
Problem conclusion
A check for a null object was added to the code.
The fix for this APAR is currently targeted for inclusion
in 5.02.11 and 5.1.1.5.
Please refer to the recommended updates page for delivery
information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PK02640 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
10A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-03-16 |
Closed date |
2005-04-21 |
Last modified date |
2005-04-21 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|