PQ53837: A NULLPOINTEREXCEPTION OCCURS DURING INITIALIZATION OF THE WEB CONTAINER IN WEBSPHERE APPLICATION SERVER V4.0

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
A NullPointerException occurs during initialization of the
Web container for WebSphere Application Server Version 4.0.
..
Defect number: 78289. Although the symptoms of this APAR
are similar to 
PQ51673, this is a different problem.
From Websphere Error Log:
2001/10/05 14:08:56.999 01 SYSTEM=xxxx SERVER=ssssssss
JobName=jjjjjjj
 ASID=0X0135 PID=0X0101004B TID=0X18139400 0X000008 c=UNK
JRAS/Tr+1
  ... Error Loading Session Context and Web Application:
          java.lang.NullPointerException
.at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:98)
.at
com.ibm.servlet.engine.ServletEngine.addWebApplication
   (ServletEngine.java:525)
.at com.ibm.ws.runtime.Server.initializeModules
   (Server.java:564)
Local fix
Remove the virtualHostName=default_host in the
.xmi files, example: ibm-web-bnd.xmi
Problem summary
****************************************************************
* USERS AFFECTED: All users of the WebSphere Application       *
*                 Server Version 4.0 for z/OS and OS/390.      *
****************************************************************
* PROBLEM DESCRIPTION: A NullPointerException occurs during    *
*                      initialization of the Web container for *
*                      the WebSphere Application Server V4.0   *
*                      for z/OS and OS/390.  The exception     *
*                      occurs when an ear file has a virtual   *
*                      host binding stored in a .xmi file for  *
*                      the Web application and                 *
*                      host.default_host.alias is specified    *
*                      in the webcontainer.conf configuration  *
*                      file.                                   *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
A NullPointerException occurs during initialization of the
Web container for WebSphere Application Server Version 4.0.
The following message and traceback are present in the error
log:
Error Loading Session Context and Web Application:
 java.lang.NullPointerException
.at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:98)
.at com.ibm.servlet.engine.ServletEngine.addWebApplication
   (ServletEngine.java:525)
.at com.ibm.ws.runtime.Server.initializeModules(Server.java:564)

The exception occurs when an ear file has a virtual host binding
stored in a .xmi file, such as ibm-web-bnd.xmi, for the Web
application and host.default_host.alias is specified in the
webcontainer.conf configuration file.  The method
Server.initializeModules() does not resolve the virtual host
name correctly in this case and passes a null virtual host name
to method wcConfig.addWebApplicationToVirtualHostBinding().
Problem conclusion
This problem was fixed in V4.0.1 of the WebSphere Application
Server by changes rolled up from the workstation code in PTF3.
The changes in method initializeModules() of Server.java have
been ported back to Version 4.0, and the NullPointerException
no longer occurs.

This change affects COMPID 5655A9800 R400 for z/OS and
OS/390.  The code changes are stored in CMVC under defect
PQ53837.

400Y
EJSJWCWC

* Cross Reference between External and Internal Names
Temporary fix Comments
APAR information
APAR number PQ53837
Reported component name WEBSPHERE OS/39
Reported component ID 5655A9800
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2001-10-22
Closed date 2002-02-07
Last modified date 2002-03-02

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
EJSJWCWC          

Fix information
Fixed component name WEBSPHERE OS/39
Fixed component ID 5655A9800

Applicable component levels
R400 PSY UQ62694    UP02/02/15 P F202

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ53837
IBM Group: Software Group
Modified date: Mar 2, 2002