Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 72753 invoked from network); 27 Jan 2005 15:51:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jan 2005 15:51:59 -0000 Received: (qmail 35821 invoked by uid 500); 27 Jan 2005 15:51:51 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 35788 invoked by uid 500); 27 Jan 2005 15:51:51 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 35767 invoked by uid 99); 27 Jan 2005 15:51:51 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: unknown (hermes.apache.org: error in processing during lookup of toby@caboteria.org) Received: from smtp01.mrf.mail.rcn.net (HELO smtp01.mrf.mail.rcn.net) (207.172.4.60) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 27 Jan 2005 07:51:50 -0800 Received: from 207-172-209-236.c3-0.ded-ubr1.sbo-ded.ma.cable.rcn.com ([207.172.209.236] helo=mail.caboteria.org) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CuBvv-0002NM-00 for dev@geronimo.apache.org; Thu, 27 Jan 2005 10:51:47 -0500 Received: by mail.caboteria.org (Postfix, from userid 1000) id 20FC5C4172; Thu, 27 Jan 2005 10:51:51 -0500 (EST) Date: Thu, 27 Jan 2005 10:51:51 -0500 From: toby cabot To: dev@geronimo.apache.org Subject: Re: problem with axis/xerces and web apps Message-ID: <20050127155151.GA17082@caboteria.org> References: <20050124215635.GA16361@caboteria.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050124215635.GA16361@caboteria.org> User-Agent: Mutt/1.5.6+20040907i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, Jan 24, 2005 at 04:56:35PM -0500, toby cabot wrote: > I have a problem at run-time > with Xerces inside a web app that appears to be classloader related. > I'm using Axis which uses Xerces so I added the xerces jars to my .war > file. When Xerces starts I get: > > java.lang.ClassCastException I'm still not certain what's going on, but I have some clues. The "old" version of Geronimo (i.e. early January) loads Axis from the jars in my .war file, but the new version loads Axis from the jars in the geronimo repository. This seems to cause a problem when Axis then loads Xerces from the jars in my war file. Is there a way that I can get the old behavior, i.e. have Geronimo use the version of Axis that's packaged in my war file? Thanks, Toby