PQ51673: JAVA.LANG.NULLPOINTEREXCEPTION WHEN VIRTUAL_HOST IN WEBCONTAINER.CONF DOES NOT MATCH WEBAPP DEFINITION OF VIRTUAL_HOST | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() 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 NamesTemporary 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 for z/OS
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ51673
IBM Group: Software Group
Modified date: Oct 2, 2001
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.