PQ72831: WRITEREPLACE/READRESOLVE NOT ALWAYS INVOKEDIN IBM ORB ON WAS 4. 0.4 | |||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description The version of ObjectStreamClass for WAS 4.0.4 (in ibmorb.jar) does not invoke readResolve() and writeReplace() for serializable objects.Local fix Problem summary **************************************************************** * USERS AFFECTED: All WebSphere Application Server users of * * EJB serialization. * **************************************************************** * PROBLEM DESCRIPTION: The version of ObjectStreamClass for * * WebSphere 4.0.4 (in ibmorb.jar and * * rt.jar) does not invoke readResolve() * * and writeReplace() for serializable * * objects. * **************************************************************** * RECOMMENDATION: * **************************************************************** For handling serialization with EJB invocation, the generated bean stub uses com.ibm.rmi.io.IIOPInputStream (which in turn uses com.ibm.rmi.io.ObjectStreamClass) to read the serialized object back. However, the version of ObjectStreamClass for v4 (in ibmorb.jar) had a bug for handling readResolve() and writeReplace() for serializable objects. The new features the user might have just implemented for Enum/Flag and FlagHolders across PT/BT depended on the correct serialization to keep the reference identity.Problem conclusion Not available at this time. This fix will be in the base ORB which will be included in a future JDK from Hursley.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
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ72831
IBM Group: Software Group
Modified date: Apr 29, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.