Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 65036 invoked from network); 16 May 2003 05:33:43 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 May 2003 05:33:43 -0000 Received: (qmail 22247 invoked by uid 97); 16 May 2003 05:36:00 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 22240 invoked from network); 16 May 2003 05:36:00 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 16 May 2003 05:36:00 -0000 Received: (qmail 63566 invoked by uid 500); 16 May 2003 05:33:28 -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 63522 invoked from network); 16 May 2003 05:33:28 -0000 Received: from sccrmhc03.attbi.com (204.127.202.63) by daedalus.apache.org with SMTP; 16 May 2003 05:33:28 -0000 Received: from nicki.visi.com (c-24-118-17-192.mn.client2.attbi.com[24.118.17.192]) by attbi.com (sccrmhc03) with SMTP id <2003051605333600300aehj8e>; Fri, 16 May 2003 05:33:36 +0000 Message-Id: <5.2.0.9.2.20030516003013.02f4b560@shell.visi.com> X-Sender: hoju@shell.visi.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 16 May 2003 00:34:59 -0500 To: "Tomcat Users List" From: Jacob Kjome Subject: RE: how to override xercesImpl.jar In-Reply-To: <4F8DDDFDAC9A864AAED5BB875129DF4B02957C0E@tmskoex01.tm.thom sonmedia.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_745622812==.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_745622812==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed There are two jars that you have to remove. did you remove to both? xercesImpl.jar and xmlParserAPIs.jar. Also, JAXP is just a set of interfaces. There has to be an implementation such as crimson, xerces, etc... Which JAXP compliant implementation are you using? Is it an old xerces or something else? You might need to try using JDk1.3.1 which doesn't include any XML parser api's. Then put your jar in common/lib or common/endorsed and see if things work. Jake At 10:12 AM 5/15/2003 -0500, you wrote: >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 --=====================_745622812==.ALT--