PQ63531: EXCEPTION THROWN BY SESSION MANAGER WHEN AN OBJECT IS NOT SERIALIZABLE NEEDS TO BE MORE DESCRIPTIVE

 A fix is available

4.0.5: WebSphere Application Server Version 4.0 Fix Pack 5 (Version 4.0.5)



APAR status
Closed as program error.

Error description
If a WebModule is marked as "distributable" and persistent
sessions are being used, all objects placed into the HTTPSession
must be serializable. In DatabaseSessionData.class, we make a
check for this. If the object is not serializable, we throw an
IllegalArgumentException without any detail. To improve the
serviceability of the Session Manager, we should print out the
fact that the WebModule is distributable and that object "x" is
not serializable.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server - Session       *
*                 Manager Users                                *
****************************************************************
* PROBLEM DESCRIPTION: Session Manager is not logging the      *
*                      name of non-serializable values in      *
*                      the standard log when the webapp has    *
*                      been defined as distributable.          *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
As per J2EE spec a web module defined as distributale requires
all the values bound into the session object to implement the
serializable/externalizable interface. If a non-serializable
value is bound into the session object the session manager
currently logs an IllegalArguementException but doesn't record
the value name in the standard logs which if done would be
helpful to WebSphere users for diagnostic purposes.
Problem conclusion
This fix will make the session manager to log the value name
of a non-serializable object in the standard output file.
Temporary fix Comments
APAR information
APAR number PQ63531
Reported component name WEBSPHERE AE NT
Reported component ID 5630A2201
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-07-25
Closed date 2002-08-26
Last modified date 2002-08-26

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
SESSIONS          

SRLS

Fix information
Fixed component name WEBSPHERE AE NT
Fixed component ID 5630A2201

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ63531
IBM Group: Software Group
Modified date: Aug 26, 2002