APAR status
Closed as program error.
Error description
Version: WebSphere 5.0.2
WebSphere fails to compile JSPs when customer's application
contains own version of xerces/xalan.
When WAS tries to run our JSPs it gives the following error:
****************************************************************
SRVE0026E: [Servlet Error]-[Unable to compile class for JSP]:
java.lang.IllegalArgumentException: PAR002 Class,
"org.apache.xerces.dom.DocumentImpl", is not of type
org.w3c.dom.Document.
org.apache.xerces.dom.DocumentImpl
at org.apache.xerces.parsers.AbstractDOMParser.setDocumentClass
at org.apache.xerces.parsers.AbstractDOMParser.reset(AbstractDO
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:146
at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBui
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at org.apache.jasper.parser.ParserUtils.parseXMLDocument(Parser
at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLi
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibr
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibr
at org.apache.jasper.compiler.ConfigurableParseEventListener.<i
at org.apache.jasper.compiler.ParserController.<init>(ParserCon
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:23
****************************************************************
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 5.0.2 users *
* with their own version of xerces or xalan *
* jar files packaged in their EAR file. *
****************************************************************
* PROBLEM DESCRIPTION: WebSphere fails to compile JSPs when *
* the user application contains its own *
* version of xerces or xalan. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
When WebSphere Application Server tries to run JSPs, it gives an
IllegalArgumentException as follows:
E SRVE0026E: Servlet Error - Unable to compile class for
JSP :
java.lang.IllegalArgumentException: PAR002 Class,
"org.apache.xerces.dom.DocumentImpl", is not of type
org.w3c.dom.Document.
org.apache.xerces.dom.DocumentImpl
Problem conclusion
Users should be able to use any Xerces or Xalan for their
applications as long as it does not replace the Xerces or Xalan
that WebSphere uses for its runtime. By applying this fix,
WebSphere will use its own version of Xerces and Xalan to
perform internal JSP related functions. Users are not required
to modify their application packages.
Temporary fix
ZE FIX ERROR
PQ77263 03/08/07
iFix driver is post to
pq99999 on 07/24
Comments
APAR information |
APAR number |
PQ76707 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-07-23 |
Closed date |
2003-07-28 |
Last modified date |
2003-09-19 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|