Fixes are available
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server
Java SDK 1.5 SR10 Cumulative Fix for WebSphere Application Server
6.1.0.31: Java SDK 1.5 SR11 FP1 Cumulative Fix for WebSphere Application Server
6.1.0.33: Java SDK 1.5 SR12 FP1 Cumulative Fix for WebSphere
6.1.0.29: Java SDK 1.5 SR11 Cumulative Fix for WebSphere Application Server
6.1.0.35: Java SDK 1.5 SR12 FP2 Cumulative Fix for WebSphere
6.1.0.37: Java SDK 1.5 SR12 FP3 Cumulative Fix for WebSphere
6.1.0.39: Java SDK 1.5 SR12 FP4 Cumulative Fix for WebSphere Application Server
6.1.0.41: Java SDK 1.5 SR12 FP5 Cumulative Fix for WebSphere Application Server
6.1.0.43: Java SDK 1.5 SR13 Cumulative Fix for WebSphere Application Server
6.1.0.45: Java SDK 1.5 SR14 Cumulative Fix for WebSphere Application Server
6.1.0.47: WebSphere Application Server V6.1 Fix Pack 47
6.1.0.47: Java SDK 1.5 SR16 Cumulative Fix for WebSphere Application Server
APAR status
Closed as program error.
Error description
Problem Description: JSR 168 portlet web applications cannot be started/stopped independently of starting/stopping the Portal web application when using IBM WebSphere Application Server 6.0.2. Explanation: Upon context initialization (when ServletContextListener's contextInitialized() method is called by the container), getContext(currentContext) returns null. Servlet 2.4 spec, page 80 says that methods in ServletContextListener instance would be called when "The servlet context has just been created and is available to service its first request, or the servlet context is about to be shut down."
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server version 6 * * users who implement a * * ServletContextListener. * **************************************************************** * PROBLEM DESCRIPTION: The webcontainer initializes a service * * context before saving its address in * * a variable available to a * * ServletContextEvent. * **************************************************************** * RECOMMENDATION: * **************************************************************** The webcontainer initializes a service context before saving its address in a variable available to a ServletContextEvent. As a result when the ServletContextListener is notified of that the servlet context has been created and tries to obtain it from the ServletContextEvent a null is returned. According to the Java(TM) Servlet Specification Version 2.4 a ServletContextListener is called when a servlet context has just been created and is available to service its first request. However, when the contextInitialized() method of a ServletContextListener is called to notify the ServletContextListener that a servlet context has just been created, if that method calls the getServletContext() method on the passed ServletContextEvent object in order to obtain the servlet context, a null is returned.
Problem conclusion
The webcontainer now saves the address of the servlet context in a variable available to a ServletContextEvent before initializing the servlet context. The fix for this APAR is currently targeted for inclusion in fixpacks 6.0.2.21 and 6.1.0.11. Please refer to the recommended updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PK40127
Reported component name
WAS NETWRK DEPL
Reported component ID
5630A3601
Reported release
60S
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2007-02-27
Closed date
2007-04-27
Last modified date
2007-08-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ENGINE
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R60A PSY
UP
R60H PSY
UP
R60I PSY
UP
R60S PSY
UP
R60P PSY
UP
R60W PSY
UP
R60Z PSY
UP
R61A PSY
UP
R61H PSY
UP
Document Information
Modified date:
29 December 2021