Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: context configuration file being overwritten

QM

2004-02-01


: (I'm trying to place as little
: as possible in the tomcat directory structure, to ease upgrade issues
: and such.)

Always a good idea.

Search the Tomcat website for "instance" or "CATALINA_HOME and
CATALINA_BASE." (I don't have the exact URL on me.) Using these latter
two environment variables, you can setup a sort of mini-Tomcat that has its
own conf/ and webapps/ dirs, but refers to the main Tomcat install for the
server's jar files.

Combine that with a symlink to the main Tomcat dir (e.g. tomcat ->
tomcat-5.0.18) and upgrades within the same major version are a snap.

ymmv but this works quite well for me.

-QM

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.