PQ93559: TRANSACTION RECOVERY PROCESSING THROWS NULLPOINTEREXCEPTION WHEN DESERIALIZING AN INSTANCE OF COM.IBM.EJS.J2C.CONNECTIONMANAGER

 A fix is available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
The following error is seen the WebSphere servant log during XA
Recovery,
Trace: 2004/08/24 12:52:21.875 01 t=8C4328 c=UNK key=P8
FunctionName: com.ibm.ws390.tx.partnerLog.WS390XaRecUtil
SourceId: com.ibm.ws390.tx.partnerLog.WS390XaRecUtil
Category: ERROR
ExtendedMessage: deserializeWrapper caught the following
exception, recovery will be halted
.
Trace: 2004/08/24 12:52:21.876 01 t=8C4328 c=UNK key=P8
Description: Log Boss/390 Error
from filename: ./bborjtr.cpp
at line: 812
error message: BBOO0223I deserializeWrapper caught thefollowing
exception, recovery will be halted
com.ibm.ws390.tx.partnerLog.WS390XaRecUtil
com.ibm.ws390.tx.partnerLog.WS390XaRecUtil
java.lang.NullPointerException
.at com.ibm.ejs.j2c.ConnectionManager.readObject
(ConnectionManager.java:302)
.
.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V5.0 for z/OS                                *
****************************************************************
* PROBLEM DESCRIPTION: Transaction recovery fails with a       *
*                      NullPointerException when recovering    *
*                      a transaction involving a resource      *
*                      adapter which serializes WebSphere's    *
*                      ConnectionManager object.               *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
This problem can be seen as the application server performs
transaction recovery upon server restart, when recovering a
transaction involving a JCA resource adapter which serializes
WebSphere's ConnectionManager object in the process of
serializing the resource adapter's ManagedConnectionFactory
implementation. This may happen, for instance, when using a
third-party JCA resource adapter (also called a "connector").

The problem occurs during the deserialization of the
ConnectionManager object which takes place during transaction
recovery. A NullPointerException may be seen with a message and
exception stack trace such as:

BBOO0223I deserializeWrapper caught the following exception,
 recovery will be halted
 com.ibm.ws390.tx.partnerLog.WS390XaRecUtil
 com.ibm.ws390.tx.partnerLog.WS390XaRecUtil
 java.lang.NullPointerException
  at com.ibm.ejs.j2c.ConnectionManager.readObject...
  at java.lang.reflect.Method.invoke(Native Method)
  at java.io.ObjectInputStream.invokeObjectReader...
  at java.io.ObjectInputStream.inputObject...
  at java.io.ObjectInputStream.readObject...
   ... lines deleted ...
  at com.ibm.ejs.jts.jta.recovery.XARecUtil.deserObjByte...
  at com.ibm.ws390.tx.partnerLog.WS390XaRecUtil.deserializeWrapp
  at com.ibm.ws390.tx.partnerLog.XaRecoveryTableEntry.readObject
  at java.lang.reflect.Method.invoke(Native Method)
  ... lines deleted ...
  at com.ibm.ws390.tx.XARecoveryAgentData.readObject...
  ... lines deleted ...
  at com.ibm.ejs.jts.jta.recovery.XARecUtil.deserObjByte...
  at com.ibm.ws390.tx.XARecoveryAgentImpl.inflateRecoveryData
  at com.ibm.ws390.tx.XARecoveryAgentImpl.rollbackUnknownTransac
  at com.ibm.ws390.tx.xarecovery._XARecoveryAgentImplBase._invok
  at com.ibm.ws390.orb.CommonBridge.CORBAinvoke...
  at com.ibm.ws390.orb.ORBEJSBridge.CORBAinvoke...
Problem conclusion
The method ConnectionManager.readObject() has been reworked to
avoid the NullPointerException.

APAR PQ93559 is associated with SERVICE LEVEL W502016 of
WebSphere Application Server V5.0 for z/OS.
Temporary fix Comments
APAR information
APAR number PQ93559
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 500
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2004-08-31
Closed date 2004-10-07
Last modified date 2004-11-01

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:
PQ93568

Modules/Macros
BBOUBINF          

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSY UQ93769    UP04/10/15 P F410

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Current web document: swg1PQ93559.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ93559
IBM Group: Software Group
Modified date: Nov 1, 2004