tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose MarĂ­a Zaragoza <demablo...@gmail.com>
Subject Re: Modify content in META-INF/context.xml
Date Tue, 17 Dec 2013 16:12:36 GMT
> Automatic deployment has had a bit of an overhaul in Tomcat 8 and those changes have been
back-ported to 7.0.x for the next release. The behaviour in a number of edge cases is now
clearly defined:
> http://ci.apache.org/projects/tomcat/tomcat8/docs/config/automatic-deployment.html
>
> In your case, you'd want to deploy as a WAR with unpackWARs set to true.
> Then, any time you edit the META-INF/context.xml in the unpacked directory the web application
will be redeployed using the new context.xml
>
> This might work with 6 but I can't remember (it is a long time since I looked at the
6.0.x automatic deployment code).
>
> ---------------------------------
>
>
> I'm on 6.0.26 and have this setting in my conf/server.xml file.
>
>       <Host name="localhost"  appBase="webapps"
>             unpackWARs="true" autoDeploy="true"
>             xmlValidation="false" xmlNamespaceAware="false">
>
>
> I was thinking it handled this kind of thing, but I may be wrong.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org




Thanks

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


Mime
View raw message