> 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. 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. -----Original Message----- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 11:48 AM To: Tomcat Users List Cc: '[EMAIL PROTECTED]' Subject: RE: choosing where to deploy class files On Thu, 9 May 2002, Tim Cronin wrote: > Date: Thu, 9 May 2002 11:27:26 -0500 > From: Tim Cronin <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>