PQ63308: DEADLOCK WITH SESSION TRACE ENABLED

 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
Concurrent access to the session object with session traceing
enabled can cause a possible deadlock.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server -- Session      *
*                 Manager Users                                *
****************************************************************
* PROBLEM DESCRIPTION: With Session Tracing enabled,           *
*                      deadlocks are being seen when the       *
*                      session object was  being accessed in   *
*                      the toString() method of custom         *
*                      defined object bound into the session   *
*                      object.                                 *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
With session tracing enabled, the session manager prints out
the contents of the session manager by invoking the toString()
method on the session object.  This in turn causes the
toString() method of all the objects bound to the session
object to be invoked.  If one of these objects in its toString()
method accesses the session object, for example by calling the
session.getAttribute() method and there are concurrent requests
for the same session object, a deadlock can occur between the
two threads serving the concurrent requests.  This problem will
happen only if session tracing is enabled and the objects
bound to the session object access the session object in their
toString method().
Problem conclusion
This fix will prevent the deadlock described in the problem
summary from occuring.
Temporary fix
PQ63308.jar
Comments
APAR information
APAR number PQ63308
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-07-18
Closed date 2002-08-26
Last modified date 2002-09-11

APAR is sysrouted FROM one or more of the following:

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

Modules/Macros
SESSION          

SRLS

Fix information
Fixed component name WEBSPHERE AE AI
Fixed component ID 5630A2200

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 #: PQ63308
IBM Group: Software Group
Modified date: Sep 11, 2002