On Monday 22 June 2009 13:53:47 Mark Thomas wrote:
> Rainer Frey wrote:
> > On Monday 22 June 2009 12:02:49 Mark Thomas wrote:
> >> You are editing the wrong file. When a web application is first
> >> deployed, any META-INF/context.xml is copied to
> >> CATALINA_BASE/conf/<enginename>/<hostname> (usually
> >> CATALINA_BASE/conf/Catalina/localhost) and renamed to appName.xml. Eg
> >> for a war file named myapp.war a META-INF/context.xml would be renamed
> >> to myapp.xml#
> >>
> >> Edit the copy of the context.xml file and all will work as you expect.
> >
> > If I want to deploy the application on different tomcat installations, I
> > have to delete the file from CATALINA_BASE/conf on each one, and it even
> > might have a different path on each. 
> 
> If you want to remove the old configuration, undeploy the app first
> which will remove the old configuration file.

Thanks, this was the point I missed.

> Mark

Rainer

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

Reply via email to