APAR status
Closed as program error.
Error description
Prevent Null Pointer Exception in WSRdbXaResourceImpl if there
are no resources to recover.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of XA *
* JDBC Connections. *
****************************************************************
* PROBLEM DESCRIPTION: If there are no resources to be *
* recovered during XA recovery the JDBC *
* driver may return a null array of *
* XIDs. The APAR prevents a *
* NullPointerException from being *
* thrown if that occurs. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
Some JDBC drivers may return a Null value for the
list of XIDs during XA Recovery. IF this occurs,
a NullPointerException can result. This problem
is known to occur with Informix JDBC drivers,
but may occur for other vendors as well.
The exception may look like this :
Trace: 2004/11/11 15:38:58.403 01 t=8DD308
c=UNK key=P8 (13007002)
ThreadId: 0000001a
FunctionName: com.ibm.ws.Transaction.JTA.XARminst
SourceId: com.ibm.ws.Transaction.JTA.XARminst
Category: FINE
ExtendedMessage:
Caught exception re-driving recover; java.lang.
NullPointerException
at com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl.
recover(WSRdbXaResourceImpl.java:955)
at com.ibm.ws.Transaction.JTA.XARminst.
recover(XARminst.java:197)
at com.ibm.ws.Transaction.JTA.XARecoveryData.
recover(XARecoveryData.java:609)
at com.ibm.ws.Transaction.JTA.XARecoveryData.
recover(XARecoveryData.java:427)
at com.ibm.ws390.tx.XARecoveryAgentImpl.
rollbackUnknownTransactions(XARecoveryAgentImpl.java:397)
at com.ibm.ws390.tx.xarecovery._XARecovery
AgentImplBase._invoke(_XARecoveryAgentImplBase.java:49)
at com.ibm.ws390.orb.CommonBridge.CORBAinvoke(Unknown Source)
at com.ibm.ws390.orb.ORBEJSBridge.
CORBAinvoke(ORBEJSBridge.java:542)
at com.ibm.ws390.orb.parameters.
ORBEJSBridgeCORBAInvoke.
ORBEJSBridgeCORBAInvokeParmSetter
(ORBEJSBridgeCORBAInvoke.java:168)
Problem conclusion
If the xid array is null an event will be logged and the
Null Pointer Exception will be avoided.
The fix for this APAR is currently targeted for inclusion in
5.02.10 and 5.1.1.3. Please refer to the Recommended Updates
page for delivery dates:
http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP
&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PQ99084 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-01-05 |
Closed date |
2005-01-10 |
Last modified date |
2005-01-10 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
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 |
|