Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 84352 invoked from network); 15 May 2003 15:14:57 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 May 2003 15:14:57 -0000 Received: (qmail 2924 invoked by uid 97); 15 May 2003 15:17:05 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 2917 invoked from network); 15 May 2003 15:17:05 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 15 May 2003 15:17:05 -0000 Received: (qmail 75978 invoked by uid 500); 15 May 2003 15:12:26 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 75934 invoked from network); 15 May 2003 15:12:24 -0000 Received: from tmgate2.thomsonmedia.com (207.241.10.34) by daedalus.apache.org with SMTP; 15 May 2003 15:12:24 -0000 Received: from tmskoex01.tm.thomsonmedia.com (fw-qe0.bankinfo.com [207.241.10.33]) by tmgate2.thomsonmedia.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h4FFCObg011031 for ; Thu, 15 May 2003 10:12:24 -0500 (CDT) Received: by tmskoex01.tm.thomsonmedia.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 May 2003 10:12:24 -0500 Message-ID: <4F8DDDFDAC9A864AAED5BB875129DF4B02957C0E@tmskoex01.tm.thomsonmedia.com> From: "Angelov, Rossen" To: "'Tomcat Users List'" Subject: RE: how to override xercesImpl.jar Date: Thu, 15 May 2003 10:12:23 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C31AF4.63177550" X-Spam-Status: No, hits=-99.6 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,HTML_20_30,HTML_MESSAGE, ORIGINAL_MESSAGE,USER_IN_WHITELIST version=2.54 X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C31AF4.63177550 Content-Type: text/plain; charset="iso-8859-1" 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 ------_=_NextPart_001_01C31AF4.63177550--