PQ82380: IN WEBSPHERE APPLICATION SERVER V4.0.6, A WEB SERVICES APPLICATIONFAILS WITH CLASSCASTEXCEPTION. WORKED AT 4.05. | |||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description Apache SOAP is not getting the required version of the Xerces parser that is shipped with WebSphere Application Server 4.06 and 4.07. 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.refreshDocumentBuilder Factory(Unknown Source) at org.apache.soap.util.xml.XMLParser Utils.<clinit> (Unknown Source) Fixed for 5.01 in PQ76837Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server users of the * * included Apache SOAP * **************************************************************** * PROBLEM DESCRIPTION: Something about the classloading * * functionality in WSAS 4.0.6 changed * * which causes Apache SOAP to not be * * able to locate Xerces. * **************************************************************** * RECOMMENDATION: * **************************************************************** The classloading component changed in WSAS 4.0.6 so that Apache SOAP can no longer locate Xerces classesProblem conclusion Apache SOAP was modified to explicitly look for Xerces instead of relying on the default classloading functionality.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
SRLS
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ82380
IBM Group: Software Group
Modified date: Mar 23, 2004
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.