tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Tomcat copies context.xml to conf/Catalina/localhost/app.xml but never updates it?
Date Thu, 06 Aug 2009 17:28:27 GMT
M4N - Arjan Tijms wrote:
> Hi,
> 
> I'm running Tomcat 6.0.20 using JDK 6 update 14 on a 64 bits Debian
> Lenny. I've unpacked a stock Tomcat 6.0.20 and deployed a web module to
> the webapps directory. After I started and stopped the web module, I
> noticed that the META-INF/context.xml had been copied to
> conf/Catalina/localhost/[name of web module].xml.
> 
> I made a change to META-INF/context.xml and started Tomcat again, but
> the copy in conf/Catalina/localhost/ appeared to be not updated. I
> stopped Tomcat, removed the web module from webapps and started Tomcat
> again. The copy in conf/Catalina/localhost still wasn't updated/deleted
> and now Tomcat started complaining it couldn't find my webapp anymore.
> 
> I've been a long time Tomcat user and this has never ever been a problem
> for me. I never noticed conf/Catalina/localhost contained a copy of my
> context.xml files, but I could always modify context.xml and never
> needed to explicitly delete the contents of conf/Catalina/localhost.
> This is a rather scary situation. I'm not 100% sure why Tomcat does this
> copying in the first place and I'm not at all sure what's going on with
> the stale copies.
> 
> Anyone has any idea?

Search the archives. This been covered repeatedly.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message