PQ62961: AFTER PQ54217 NULLPOINTER EXCEPTIONS BEING THROWN WHEN A REQUESTFOR AN HTTPSESSION IS MADE AFTER THE WEBAPP IS RELOADED. | |||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description Customer tried to access HttpSession after a webapp was reloaded and received an Error 500. On second request, it would suceed.Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server - Servlet * * Engine Users * **************************************************************** * PROBLEM DESCRIPTION: NullPointer Exceptions are being * * thrown when a session object is * * accessed after a webapp reload. * **************************************************************** * RECOMMENDATION: * **************************************************************** This problem will only occur in 4.0.3. Here are the steps which would cause this problem to occur: 1. Request a servlet which creates/accesses a session. 2. Compile the servlet which will cause the webapp to be reloaded. 3. Request the servlet again after the reloading has completed. A NullPointer exception will be thrown. If the servlet is requested again the page is served without any problems.Problem conclusion This problem was occuring because the webapp was losing the reference to the session context on a webapp reload. The webcontainer code has been changed so that the webapp has the valid reference to the sessioncontext.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 #: PQ62961
IBM Group: Software Group
Modified date: Aug 7, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.