Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 61187 invoked from network); 4 Oct 2009 10:18:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Oct 2009 10:18:59 -0000 Received: (qmail 23991 invoked by uid 500); 4 Oct 2009 10:18:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23914 invoked by uid 500); 4 Oct 2009 10:18:55 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 23903 invoked by uid 99); 4 Oct 2009 10:18:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 10:18:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rosenberg.leon@googlemail.com designates 72.14.220.152 as permitted sender) Received: from [72.14.220.152] (HELO fg-out-1718.google.com) (72.14.220.152) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 10:18:44 +0000 Received: by fg-out-1718.google.com with SMTP id 22so268044fge.0 for ; Sun, 04 Oct 2009 03:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=JUU6XtuFTF2fkVsrUDK/6uXxp9Rba3BHVv1P6tCoYmY=; b=isWX1Hs7drfqJDNqtPAR7AalUVJ+vndJeaboQDWdtGo8mi1ZO9zhojUIRzwVo4TQgO 5R6rFNb+8FRV6/iClTMe74Efi6w9woiEikp71VILCvCUO7ieD83JK88EVBCxwSTJYNDS szs6uI+RbE9F4NVBljCs5IrDe8MhD3gqQIFUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=A/Q8VE6X0ACW1KOTQXNIicEJTABZ9zGLduUDw/q+iFzRkmxZUZAKvkfjl3SlIWTgj3 i3C5dOhAXWDyq76GaWBtHyEqgEbkeahdmCghMLIUp3x9ypOmKz7jjSsDJwn7F0+oCY8g lOdDNJZPm/BCEzt9dynfAdXWBoqPyTwjTGkLA= MIME-Version: 1.0 Received: by 10.86.174.2 with SMTP id w2mr4180827fge.0.1254651444168; Sun, 04 Oct 2009 03:17:24 -0700 (PDT) In-Reply-To: References: <99C8B2929B39C24493377AC7A121E21F84054C1188@USEA-EXCH8.na.uis.unisys.com> Date: Sun, 4 Oct 2009 12:17:24 +0200 Message-ID: <327858f40910040317k48d2ba09k5232e9df55e0f2f8@mail.gmail.com> Subject: Re: Loading Jar files in a particular order on Tomcat 6 From: Leon Rosenberg To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Oct 4, 2009 at 1:00 AM, Eric B. wrote: > "Caldarale, Charles R" wrote in message > news:99C8B2929B39C24493377AC7A121E21F84054C1188@USEA-EXCH8.na.uis.unisys.com... >> From: Rasmus Larsen [mailto:kolibriasdf@gmail.com] >> Subject: Loading Jar files in a particular order on Tomcat 6 >> >> I'm working on a web application where I have dependencies on two >> different jars containing two different versions of the same class. > >> Ugly, at best. > Back to the original post, why don't you simply patch (maybe automatically with ant) the jar file containing the 'old' version of the class and remove it? You won't be able to keep two different versions of a class in the same classloader anyway. regards Leon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org