Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 38863 invoked from network); 11 Feb 2004 21:28:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Feb 2004 21:28:18 -0000 Received: (qmail 63991 invoked by uid 500); 11 Feb 2004 21:27:15 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 63974 invoked by uid 500); 11 Feb 2004 21:27:15 -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 63848 invoked from network); 11 Feb 2004 21:27:14 -0000 Received: from unknown (HELO wil1rly2.tmcs.net) (209.104.62.3) by daedalus.apache.org with SMTP; 11 Feb 2004 21:27:14 -0000 Received: from pasmail.office.tmcs (pasmail.office.tmcs [172.26.10.131]) by wil1rly2.tmcs.net (8.12.6/8.12.6/200312091159) with ESMTP id i1BLQtXl014705 for ; Wed, 11 Feb 2004 13:26:55 -0800 (PST) Received: from citysearch.com (tigris.cs.tmcs [172.26.21.37]) by pasmail.office.tmcs with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id D6P9BGW8; Wed, 11 Feb 2004 13:27:19 -0800 Message-ID: <402A9EA8.4000904@citysearch.com> Date: Wed, 11 Feb 2004 13:29:12 -0800 From: Josh Rehman Organization: Citysearch - Make the most of your city User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Best practice question: where to place project libraries References: <40297467.1080307@citysearch.com> <6.0.0.22.2.20040210163141.02b441f8@pop.synerdyne.com> <40297C13.9020108@citysearch.com> <6.0.0.22.2.20040210183855.02b45e78@pop.synerdyne.com> <4029A420.4080702@citysearch.com> <6.0.0.22.2.20040211111651.02aef298@pop.synerdyne.com> In-Reply-To: <6.0.0.22.2.20040211111651.02aef298@pop.synerdyne.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Justin Ruthenbeck wrote: > Although I haven't personally ever needed functionality like this, > there's no argument it'd be useful in some situations. Wanna implement > it for everyone? ;) Like John Holman mentioned, however, there will be > (practically insurmountable?) problems making the Tomcat container > classloader update with new libraries included in the app's WAR. > That'll get really messy really quick. I'm advocating something more radical: *copy* libraries in said directories into the containers common and shared directories. Someone else mentioned that this would alter the environement for other webapps, which is an important drawback. Another drawback is the restart requirement. But the fact remains that the developer should have some easy way to indicate to the deployer what dependancies need to be met esp WRT JNDI resources, and an easy (for the deployer) way to satisfy these dependancies. AFAIk there is no good way to do this. META-INF/context.xml does this in a small way, and it would be nice to generalize to libraries and drivers. I'm not yet in a position to do this development, although I might soon be. -- Josh Rehman citysearch.com 213.739.3559 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org