tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: how to override xercesImpl.jar
Date Fri, 16 May 2003 03:15:01 GMT
I haven't tried it myself, but something that other people have reported
works is to move (*not* copy) the Xerces jars to $CATALINA_HOME/server/lib
(so Tomcat's internals can see it, but your webapp can't), and put the JAXP
1.1 jars in $CATALINA_HOME/shared/lib.

"Angelov, Rossen" <Rossen.Angelov@thomsonmedia.com> wrote in message
news:4F8DDDFDAC9A864AAED5BB875129DF4B02957C0E@tmskoex01.tm.thomsonmedia.com.
..
> 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
>




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message