PQ78710: ENTIES INCLUDES IN WEB.XML CAUSE EXCEPTION IN WSAS 4.06 | |||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description When the web.xml file on WSAS4.06 includes: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd" [ <!ENTITY servlet_mapping PUBLIC "servlet_mapping" "file:./test.xml"> ]> It causes the following error: java.lang.NullPointerException at org.apache.xerces.framework.XMLParser.parse (XMLParser.java:1111) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.invo keMethod(GeneralXmlDocumentReader.java:228) at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parse (GeneralXmlDocumentReader.java:240) at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parse Document(GeneralXmlDocumentReader.java:250) at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.prim ImportFrom(DeploymentDescriptorImportExport.java:238) at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport. primImportFrom(DeploymentDescriptorImportExport.java:227) at com.ibm.etools.j2ee.xml.WarDeploymentDescriptorImportExport. importFrom(WarDeploymentDescriptorImportExport.java:47) at com.ibm.etools.webapplication.impl.WebAppResourceFactory. importXML(WebAppResourceFactory.java:26) at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load (XMLResourceFactory.java:62) at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load (XMLResourceFactory.java:80) Which happens to be an issue with WSAS runtime code parsing web.xml and needs to be fixed in the runtime xerces (in <WSAS_ROOT>/lib folder.Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server Users * * using version 4.0.6. * **************************************************************** * PROBLEM DESCRIPTION: Entries included in WEB.XML cause * * exception in WebSphere Application * * Server 4.06 * **************************************************************** * RECOMMENDATION: * **************************************************************** When the web.xml file on WebSphere Application Server 4.06 includes: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd" [<!ENTITY servlet_mapping PUBLIC "servlet_mapping" "file:./test.xml"> ]> It causes the following error: java.lang.NullPointerException at org.apache.xerces.framework.XMLParser.parse (XMLParser.java:1111)Problem conclusion This problem will be fixed in the next fixpack for 4.0(4.0.8)Temporary 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 > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ78710
IBM Group: Software Group
Modified date: Sep 20, 2004
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.