PQ51673: JAVA.LANG.NULLPOINTEREXCEPTION WHEN VIRTUAL_HOST IN WEBCONTAINER.CONF DOES NOT MATCH WEBAPP DEFINITION OF VIRTUAL_HOST

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
A java.lang.NullPointerException is thrown by WebSphere
Application Server V4.0 when the virtual_host definition in
webcontainer.conf does not match the definition in the webapp
for virtual_host. In the trace for the server region we see:
ExtendedMessage: Error adding module to Web Container:
com.ibm.ejs.models.base.config.applicationserver.impl.WebModuleR
efImpl(uri
: Trade.war) java.lang.NullPointerException

 at java.util.Hashtable.get(Hashtable.java:326)

 at
com.ibm.ws390.wc.config.WebContainerInfo.getVirtualHostInfo(WebC
ontainerInfo.java:136)
Local fix
Edit the webcontainer.conf or the .xmi file in the .ear for the
application and make sure the definitions match.
Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 Version 4.0 for z/OS and OS/390.             *
****************************************************************
* PROBLEM DESCRIPTION: A NullPointerException was being thrown *
*                      when the Web application was not bound  *
*                      to any virtual host.                    *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When a Web application is not bound to a virtual host, a
NullPointerException is thrown during the Web Container
initialization.
Problem conclusion
The code was modified so that if a Web application is not bound
to any virtual host, a warning message is issued and the Web
application is associated with a default virtual host.  The
warning message is
 "Web application context root: <context-root> is not bound to
  any virtual host, so binding to <default-HostName>"

This change affects the Web Container for COMPID 5655A9800,
Version 4 on OS/390.

The code changes are stored in CMVC under defect 76904.

400Y
EJSJWCWC

* Cross Reference between External and Internal Names
Temporary fix Comments
APAR information
APAR number PQ51673
Reported component name WEBSPHERE OS/39
Reported component ID 5655A9800
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2001-08-21
Closed date 2001-09-07
Last modified date 2001-10-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 UQ57590    UP01/09/19 P F109

  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 #: PQ51673
IBM Group: Software Group
Modified date: Oct 2, 2001