PK58975: STREAMCORRUPTEDEXCEPTION OCCURS WHEN MIGRATING TO 64 BIT AND THE TRANSACTION XA PARTNER LOG IS STORED IN A LOGSTREAM | |||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros Publications Referenced
|
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
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.