APAR status
Closed as program error.
Error description
On V5.0.1, a Web Services application fails with
ClassCastException. This application worked fine on V4.0.3.
A portion of stack entry follows:
---
■7/15/03 22:10:25:766 EDT 3aee87eb WebGroup I SRVE0180I:
■webserviceWeb ■/webserviceWeb ■Servlet.LOG: /admin/list.jsp:
init
■7/15/03 22:10:26:594 EDT 3aee87eb WebGroup E SRVE0026E:
■Servlet Error-■org.apache.xerces.parsers.StandardParserConfi
guration:
java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration
at org.apache.xerces.parsers.DOMParser.<init>(DOMParser.java:10
9)
...
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server Developers *
* using SOAP and Xerces . *
****************************************************************
* PROBLEM DESCRIPTION: Apache SOAP is not getting the required *
* version of the Xerces parser that is *
* shipped with WebSphere 5.0.1 and 5.0.2 *
****************************************************************
* RECOMMENDATION: *
****************************************************************
A user can receive a ClassCastException when Apache SOAP is
attempting to locate a Xerces parser, depending on the
classpath.
An example stack trace is:
WebGroup E SRVE0026E: Servlet Error - :
java.lang.ExceptionInInitializerError:
java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
at
javax.xml.parsers.DocumentBuilderFactory.newInstance
(Unknown Source)
at
org.apache.soap.util.xml.XMLParserUtils.
refreshDocumentBuilderFactory
(Unknown Source)
at
org.apache.soap.util.xml.XMLParserUtils.<clinit> (Unknown
Source)
Problem conclusion
The code was modified so that Apache SOAP will use a
ParserFactory to find the correct Xerces parser, irrespective of
the classpath.
Temporary fix Comments
APAR information |
APAR number |
PQ76837 |
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-28 |
Closed date |
2003-08-07 |
Last modified date |
2003-08-07 |
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 |
|