Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 80051 invoked from network); 9 May 2002 16:48:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 May 2002 16:48:16 -0000 Received: (qmail 25652 invoked by uid 97); 9 May 2002 16:47:54 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 25566 invoked by uid 97); 9 May 2002 16:47:53 -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 25554 invoked by uid 98); 9 May 2002 16:47:52 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Thu, 9 May 2002 09:47:46 -0700 (PDT) From: "Craig R. McClanahan" To: Tomcat Users List cc: "'rnf@tbird.com'" Subject: RE: choosing where to deploy class files In-Reply-To: <71FD63241A2DD511AFED00010236A4B315BFF7@LIVAUDAIS> Message-ID: <20020509094530.R24818-100000@icarus.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, 9 May 2002, Tim Cronin wrote: > Date: Thu, 9 May 2002 11:27:26 -0500 > From: Tim Cronin > Reply-To: Tomcat Users List > To: 'Tomcat Users List' > Cc: "'rnf@tbird.com'" > Subject: RE: choosing where to deploy class files > > Thanks. > > I was afraid of that. > > >* Anything that needs to be both places is a sign > > that you should refactor your classes into > > smaller pieces -- in particular, to make the ones that > > need to be visible to your webapp not depend on > > Catalina internals. > > My web apps don't need to see Catalina internals but > I access the DB in Both places and we have a > Package that handles all DB access and resource > allocation. This package is out of my control so > I am un able to Refactor it. In other words, this package has internal references to Catalina classes? Yuck ... > > There is any work around? > Well, you could try putting it in server/lib (for Catalina) *and* in WEB-INF/lib (for each webapp) to avoid class loading conflicts ... Craig -- To unsubscribe, e-mail: For additional commands, e-mail: