tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject RE: choosing where to deploy class files
Date Thu, 09 May 2002 16:47:46 GMT


On Thu, 9 May 2002, Tim Cronin wrote:

> Date: Thu, 9 May 2002 11:27:26 -0500
> From: Tim Cronin <tim@13-colonies.com>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: 'Tomcat Users List' <tomcat-user@jakarta.apache.org>
> Cc: "'rnf@tbird.com'" <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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message