APAR status
Closed as program error.
Error description
Problem :In WAS 5.0.2.2(only) the HttpSessionListener does not
work properly unless implemented directly , works fine in 5.0.2
From Session traces, noticed in the WAS 5.0.2.2
the session is not created and the "user" remains null, which is
the reason for the NullPointerException.
if we implement HttpSessionListener in WAS 5.0.2.2 and it ran
successfully.
Local fix
implement HttpSessionListener directly in application code.
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server session users *
****************************************************************
* PROBLEM DESCRIPTION: java.lang.NullPointerException thrown *
* when Controler servlet tries to get a *
* reference to SessionListener *
* *
* [1/26/04 13:48:26:986 ART] 360e5284 *
* WebGroup E SRVE0026E: [Servlet *
* Error]-[MainServlet: unknown *
* exception: *
* java.lang.NullPointerException]: *
* javax.servlet.ServletException: *
* MainServlet: unknown exception: *
* *
* java.lang.NullPointerException *
* at com.sancorseguros.waf.controller. *
* web.MainServlet.doProcess *
* (MainServlet.java:147) *
* *
* *
* at com.sancorseguros.waf.controller. *
* web.MainServlet.doPost *
* (MainServlet.java:83) *
* at javax.servlet.http.HttpServlet. *
* service(HttpServlet.java:760) *
* at javax.servlet.http.HttpServlet. *
* service(HttpServlet.java:853) *
* at com.ibm.ws.webcontainer.servlet. *
* StrictServletInstance.doService *
* (StrictServletInstance.java:110) *
* at com.ibm.ws.webcontainer.servlet. *
* StrictLifecycleServlet._service *
* (StrictLifecycleServlet.java:174) *
* at com.ibm.ws.webcontainer.servlet. *
* IdleServletState.service *
* (StrictLifecycleServlet.java:313) *
****************************************************************
* RECOMMENDATION: *
****************************************************************
The existing implementation has hard coded information of how
session manager loads listeners.
The correct way of loading a listener is to have the
webcontainer load all the session listeners and pass them
to the session manager.
Problem conclusion
The code is fixed to correctly load listeners.
Temporary fix
Fix is in service pack 5.0.2.5
Comments
APAR information |
APAR number |
PQ85023 |
Reported component name |
WAS HTTP SERVER |
Reported component ID |
5630A3603 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-02-20 |
Closed date |
2004-05-17 |
Last modified date |
2004-05-17 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|