PQ68150: RUNTIMEEXCEPTION THROWN FROM VALUEUNBOUND() CAUSES THE SESSION MANAGER INVALIDAITON THREAD TO DIE | |||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() 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() methodProblem 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.jarComments
APAR is sysrouted FROM one or more of the following: PQ66485 APAR is sysrouted TO one or more of the following: Modules/Macros
SRLS
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.