tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dai...@cs.berkeley.edu
Subject Re: Classpath Issue
Date Fri, 01 Mar 2002 23:12:41 GMT

Is there a reason why ${CATALINA_HOME}/classes and
${CATALINA_HOME}/lib is used for shared classes but the corresponding
directories for ${CATALINA_BASE} are not?

We are using ${CATALINA_BASE} to maintain a clean installation of
tomcat4 (which seems to be the point of ${CATALINA_BASE}), but the
problem above is biting us.

Am I missing something?

TIA,
d


At Mon, 25 Feb 2002 18:15:15 +0100,
Jean-Luc BEAUDET wrote:
> 
> rsequeira@transentric.com a écrit :
> 
> > Tomcat takes care of this for you so that you don't have to mess around
> > with classpath issues. Put your  unpacked classes in the WEB-INF/classes
> > directory of you webapplication. jar files go under the WEB-INF/lib. And
> > you are good to go.
> > If you wish to make your classes visible to all applications then place
> > your unpacked classes under then <tomcat_installation_dir>/common/classes.
> 
> Not really recommended since common will have this lib/classes viewed by both
> CATALINA and all web applications. Could be confused in some way...
> 
> Prefer the method of shared:
> $CATALINA_HOME/classes and $CATALINA_HOME/lib assuming CATALINA_HOME is the
> dir where yur Tomcat's dist was installed.
> 
> Hope this will clear the situation...
> 
> Jean-Luc :O)
> 
> 
> >
> > And the packed jar files under <tomcat_installation_dir>/common/lib
> > And if you still wish to add classes to the classpath then check out
> > catalina.bat (or tomcat.bat). But be warned this may give rise to problems
> > with classloading in the future :-)
> >
> > RS
> >
> > "Rui Oliveira" <oliveira@milu.ipn.pt> on 02/25/2002 10:51:46 AM
> >
> > Please respond to "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> >
> > To:   "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> > cc:
> >
> > Subject:  Classpath Issue
> >
> > Hello,
> >
> > sorry for the newbie question...
> >
> > Can someone please tell me how to configure the classpath for a specific
> > application only, instead of defining it for all the tomcat applications?
> >
> > Thanks in advance
> > Rui Oliveira
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message