PK58975: STREAMCORRUPTEDEXCEPTION OCCURS WHEN MIGRATING TO 64 BIT AND THE TRANSACTION XA PARTNER LOG IS STORED IN A LOGSTREAM

 Fixes are available

6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for i5/OS
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Linux
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Solaris
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for HP-UX
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Windows
6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for AIX
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for AIX
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for HP-UX
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for i5/OS
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Linux
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Solaris
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Windows
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server



APAR status
Closed as program error.

Error description
When a WebSphere Application Server for z/OS server is running
in 64 bit mode, and the server's transaction or compensation
logs are stored in a logstream (as opposed to an HFS file),
the following exceptions may occur when starting the server:

java.io.StreamCorruptedException:
                                invalid stream header: 00000000
 at java.io.ObjectInputStream.readStreamHeader
                                    (ObjectInputStream.java:783)
 at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
 at com.ibm.ws390.recoverylog.spi.IXGRecoverableUnitImpl.
                        inflate(IXGRecoverableUnitImpl.java:183)
 at com.ibm.ws390.recoverylog.spi.IXGRecoverableUnitImpl.
                   failureScope(IXGRecoverableUnitImpl.java:223)
 at com.ibm.ws390.recoverylog.spi.IXGRecoveryLogImpl.
           filteredRecoverableUnits(IXGRecoveryLogImpl.java:480)
 at com.ibm.ws390.recoverylog.spi.IXGRecoveryLogImpl.
                   recoverableUnits(IXGRecoveryLogImpl.java:445)
 at com.ibm.ws390.tx.XARecoveryAgentImpl.
       rollbackUnknownTransactions(XARecoveryAgentImpl.java:593)
 at com.ibm.ws390.tx.XARecoveryAgentImpl$XARecoveryAgentThread.
                               run(XARecoveryAgentImpl.java:355)

followed by:

java.lang.NullPointerException
 at com.ibm.ws390.recoverylog.spi.IXGRecoveryLogImpl.
           filteredRecoverableUnits(IXGRecoveryLogImpl.java:480)
 at com.ibm.ws390.recoverylog.spi.IXGRecoveryLogImpl.
                   recoverableUnits(IXGRecoveryLogImpl.java:445)
 at com.ibm.ws390.tx.XARecoveryAgentImpl.
       rollbackUnknownTransactions(XARecoveryAgentImpl.java:593)
 at com.ibm.ws390.tx.XARecoveryAgentImpl$XARecoveryAgentThread.
                               run(XARecoveryAgentImpl.java:355)

The transaction and compensation services are disabled after
this exception occurs.
Local fix
Switch the server to 31 bit mode, or move the transaction
XA partner log and/or compensation log to the HFS.
Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V6.1 for z/OS                                *
****************************************************************
* PROBLEM DESCRIPTION: StreamCorruptedException is thrown on   *
*                      server startup when the transaction XA  *
*                      partner log is located in a logstream   *
*                      and the server is running in 64-bit     *
*                      mode.                                   *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When a WebSphere Application Server for z/OS server instance
is running in 64-bit mode, and the transaction XA partner log
or compensation log is configured to write to a logstream,
the following exception(s) may be seen when the server is
started:

java.io.StreamCorruptedException:
                                invalid stream header: 00000000
 at java.io.ObjectInputStream.readStreamHeader
                                   (ObjectInputStream.java:783)
 at java.io.ObjectInputStream.<init>
                                   (ObjectInputStream.java:280)
 at com.ibm.ws390.recoverylog.spi.IXGRecoverableUnitImpl.
                       inflate(IXGRecoverableUnitImpl.java:183)
 at com.ibm.ws390.recoverylog.spi.IXGRecoverableUnitImpl.
                  failureScope(IXGRecoverableUnitImpl.java:223)
 at com.ibm.ws390.recoverylog.spi.IXGRecoveryLogImpl.
          filteredRecoverableUnits(IXGRecoveryLogImpl.java:480)
 at com.ibm.ws390.recoverylog.spi.IXGRecoveryLogImpl.
                  recoverableUnits(IXGRecoveryLogImpl.java:445)
 at com.ibm.ws390.tx.XARecoveryAgentImpl.
      rollbackUnknownTransactions(XARecoveryAgentImpl.java:593)
 at com.ibm.ws390.tx.XARecoveryAgentImpl$XARecoveryAgentThread.
                              run(XARecoveryAgentImpl.java:355)

java.lang.NullPointerException
 at com.ibm.ws390.recoverylog.spi.IXGRecoveryLogImpl.
          filteredRecoverableUnits(IXGRecoveryLogImpl.java:480)
 at com.ibm.ws390.recoverylog.spi.IXGRecoveryLogImpl.
                  recoverableUnits(IXGRecoveryLogImpl.java:445)
 at com.ibm.ws390.tx.XARecoveryAgentImpl.
      rollbackUnknownTransactions(XARecoveryAgentImpl.java:593)
 at com.ibm.ws390.tx.XARecoveryAgentImpl$XARecoveryAgentThread.
                              run(XARecoveryAgentImpl.java:355)

The recovery log identifiers may not be copied to and from the
logstream correctly when the server is running in 64-bit mode.

The transaction service and/or the compensation service will
not function after these exceptions are thrown.
Problem conclusion
Code was added to copy the recovery log identifiers to the
logstream correctly in 64-bit mode.

APAR PK58975 is currently targeted for inclusion in Service
Level (Fix Pack) 6.1.0.17 of WebSphere Application Server V6.1
for z/OS.

Please refer to URL:
//www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
for Fix Pack availability.
Temporary fix Comments
APAR information
APAR number PK58975
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 610
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2008-01-08
Closed date 2008-04-24
Last modified date 2008-07-02

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 WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSN    UP
R601 PSN    UP
R610 PSY UK36750    UP08/06/10 P F806

  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: swg1PK58975.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 610
Software edition:
Reference #: PK58975
IBM Group: Software Group
Modified date: Jul 2, 2008