> -----Original Message-----
> From: Milt Epstein [mailto:mepstein@(protected)]
> Sent: Wednesday, February 04, 2004 2:47 PM
> To: Tomcat Users List
> Subject: RE: context configuration file being overwritten
>
> On Wed, 4 Feb 2004, Cox, Charlie wrote:
>
> > > -----Original Message-----
> > > From: Milt Epstein [mailto:mepstein@(protected)]
> > > Sent: Wednesday, February 04, 2004 11:46 AM
> > > To: Tomcat Users List
> > > Subject: Re: context configuration file being overwritten
> > >
> > > On Sat, 31 Jan 2004, Milt Epstein wrote:
> > >
> > > > Hi there. I'm using tomcat 5.0.18 basically out of the box. I set
> > > > up a webapp in a directory outside the <tomcat>/webapps directory.
> > > > So I created a context configuration file for the webapp, and put a
> > > > symbolic link to it in <tomcat>/conf/Catalina/localhost. This was
> > > > all per the documentation and the source.
> > > >
> > > > So, everything starts up fine, the webapp works, but the context
> > > > configuration file gets overwritten/truncated (i.e., it is then an
> > > > empty file). The same thing happens with 5.0.16. This doesn't
> > > > happen when I place a copy of the actual configuration file in that
> > > > directory, instead of a symbolic link. (I'm trying to place as
> > > > little as possible in the tomcat directory structure, to ease
> > > > upgrade issues and such.)
> >
> > Have you tried using CATALINA_BASE and CATALINA_HOME to separate
> > your webapps/configuration(BASE) and your tomcat installation(HOME)?
> > Maybe this would serve your needs instead of symbolic links.
> [ ... ]
>
> Thanks for the response.
>
> I am aware of using CATALINA_HOME/CATALINA_BASE, but I don't think
> that would serve my needs better. That's more for when you're going
> to have multiple Tomcat instances, and you want to eliminate
> redundancy and reduce the amount of total space used. And it still
> has problems when it comes to upgrades.
>
Actually I am using CATALINA_HOME/CATALINA_BASE for a single instance for
the ease of upgrading. I have separated /webapps, /conf, and /temp from
/bin, /common, /shared, and /server. The only issue that I see upon upgrade
is that I need to copy my libs in /common and /shared if I install the new
version to a new directory and change CATALINA_HOME appropriately. I'm
interested to hear what other issues you see with this as /conf wouldn't be
affected by a new tomcat point release to CATALINA_HOME.
> Also, regardless of whether this would serve my needs better, there's
> the issue of the behavior I'm seeing and whether or not it's a bug.
> If so, it should be addressed.
I agree that it should be looked into. My suggestion was more of an
alternative.
>
> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> mepstein@(protected)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)