Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 57320 invoked from network); 9 May 2002 18:28:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 May 2002 18:28:25 -0000 Received: (qmail 19255 invoked by uid 97); 9 May 2002 18:28:04 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 19219 invoked by uid 97); 9 May 2002 18:28:03 -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 19207 invoked by uid 98); 9 May 2002 18:28:03 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Thu, 9 May 2002 11:27:55 -0700 (PDT) From: "Craig R. McClanahan" To: Tomcat Users List Subject: RE: choosing where to deploy class files In-Reply-To: <71FD63241A2DD511AFED00010236A4B315BFF8@LIVAUDAIS> Message-ID: <20020509112600.O47239-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 12:43:55 -0500 > From: Tim Cronin > Reply-To: Tomcat Users List > To: 'Tomcat Users List' > Subject: RE: choosing where to deploy class files > > > In other words, this package has internal references to Catalina classes? > > Yuck ... > > no. > It has nothing to do /w Catalina. The Realm I developed is the only thing > that directly references Catalina classes. > > The package the Realm uses to access the Database is a totally self > contained > encapsulation of our data model and It is used by other applications. > It handles all Database access. It is our internal standard. > I have servelets that have access this package as well. > OK, so why can't you put the database package in common/lib and your Realm implementation in server/lib? The common/lib stuff is visible to Catalina internal classes, because it's class loade is the parent of the server/lib class loader. > It would be similar if I was using the ORO regexp package in the > Realm and in a Servlet. So I would have to place the oro jar file > in common\lib and server\lib? xerces is in the common\lib but I would > assume is used internally by tomcat. > See the diagram in the class-loader-howto document I pointed at earlier in this thread. You'll see that putting the ORO classes in common/lib would make them available to both Catalina classes and your webapp's classes. Craig -- To unsubscribe, e-mail: For additional commands, e-mail: