PQ68150: RUNTIMEEXCEPTION THROWN FROM VALUEUNBOUND() CAUSES THE SESSION MANAGER INVALIDAITON THREAD TO DIE

 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
Customer is putting an object A that implements the
HTTPSessionBindingListener interface into the HTTPSession. The
invalidation thread runs and attempts to invalidate an inactive
HTTPSession that contains this object. When the valueUnbound()
is called on object A, it throws a RuntimeException. This
results in the invalidation thread being terminated.
Local fix
catch the RuntimeException in the valueUnbound() method
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server -- Session      *
*                 Manager Users                                *
****************************************************************
* PROBLEM DESCRIPTION: Session Invalidation thread is killed   *
*                      if a Runtime Exception is thrown from   *
*                      the valueUnbound() method of an object  *
*                      bound to the HttpSession object.        *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The Session Invalidation Thread wakes up every 3- 5 minutes
based on the configuration and invalidates all the timed out
sessions.  As part of Session Invalidation, the valueUnbound()
method of the HttpSessionBindingListener is called.  If a
RuntimeException gets thrown in the valueUnbound() method, the
invalidation thread should catch the exception and stop that
run of the thread.  Instead, the Session Manager was abruptly
terminating when a Runtime Exception was thrown from the
valueUnbound() method.
Problem conclusion
This fix will cause the Runtime Exception to be caught and the
invalidation thread execution to resume after one sleep
interval.
Temporary fix
PQ66485.jar
Comments
APAR information
APAR number PQ68150
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-11-12
Closed date 2002-11-12
Last modified date 2002-11-12

APAR is sysrouted FROM one or more of the following:
PQ66485

APAR is sysrouted TO one or more of the following:

Modules/Macros
SESSIONS          

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 #: PQ68150
IBM Group: Software Group
Modified date: Nov 12, 2002