Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 7803 invoked from network); 8 Feb 2001 12:59:37 -0000 Received: from mel.alcatel.fr (212.208.74.132) by h31.sny.collab.net with SMTP; 8 Feb 2001 12:59:37 -0000 Received: from aifhs2.alcatel.fr (mailhub.alcatel.fr [155.132.180.80]) by mel.alcatel.fr (ALCANET/SMTP) with ESMTP id NAA24409 for ; Thu, 8 Feb 2001 13:59:07 +0100 Received: from dns1.nextenso.alcatel.fr (dns1.nextenso.alcatel.fr [139.54.130.251]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id NAA18062 for ; Thu, 8 Feb 2001 13:54:32 +0100 (MET) Received: from nextenso.com (IDENT:peiqiang@nx0181.nextenso.alcatel.fr [139.54.130.181]) by dns1.nextenso.alcatel.fr (8.9.3/8.9.3) with ESMTP id PAA00568 for ; Thu, 8 Feb 2001 15:03:53 +0100 Sender: peiqiang@dns1.nextenso.alcatel.fr Message-ID: <3A82B3B0.9E05FB6@nextenso.com> Date: Thu, 08 Feb 2001 15:56:48 +0100 From: Peiqiang Han Bis X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.15-4mdk i686) X-Accept-Language: en, zh, fr MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: Question about preference within classpath... References: <20010208100543.96006.qmail@web5407.mail.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Charles, The jar which is in $TOMCAT_HOME\lib takes precedence, because it is in the system CLASSPATH. For TOMCAT 3.2, the order in which classes are loaded is that bootstrap - ext - system classpath (CLASSPATH environment variable) - custom classloader (WEB-INF\classes or WEB-INF\lib). hope this helps, -Peiqiang Han Charles Sabourdin wrote: > Question about preference within classpath... > My question is purely th�orical, If I have a jar in my > $TOMCAT_HOME\lib and one into > $TOMCAT_HOME\webapps\mywebapp\WEB-INF\lib > and one is a newer version then the other, which of > those two will be used ? > I have the same question with classes? > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, email: tomcat-user-help@jakarta.apache.org