tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angelov, Rossen" <Rossen.Ange...@thomsonmedia.com>
Subject RE: how to override xercesImpl.jar
Date Thu, 15 May 2003 15:12:23 GMT
Well, I did it and now, when restarting Tomcat I get:
java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;

I replaced xercesImpl.jar with JAXP1.1

Ross
-----Original Message-----
From: Jacob Kjome [mailto:hoju@visi.com]
Sent: Wednesday, May 14, 2003 9:51 PM
To: Tomcat Users List
Subject: Re: how to override xercesImpl.jar



Remove all jars from CATALINA_HOME/common/endorsed.  Add your older XML 
parser to said directory.  BTW, your older parser is JAXP compliant, 
right?  If not, you will likely have problems.

Jake

At 05:34 PM 5/14/2003 -0500, you wrote:
>Is there a way to force Tomcat to use different XML parser?
>
>The applications I'm trying to set to work with Tomcat use an old version
of
>JAXP. There are no errors after the application is executed but the
Document
>objects are all "null".
>
>Just removing or replacing xercesImpl.jar didn't work because at the
startup
>of Tomcat I get errors like:
>
>javax.xml.parsers.FactoryConfigurationError: Provider
>org.apache.xerces.jaxp.SAXParserFactoryImpl not found
>
>I'm using:
>JDK 1.4.1
>Tomcat 4.1.12
>SunOS 5.7

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message