On 27.10.2011 01:36, Konstantin Kolinko wrote:
> If the valve is added only to conf/*, the XML file deployment fails,
> but Tomcat will later try to deploy the application again from webapps
> folder and this deployment may be successful.
> 
> Thus was my confusion that the protection appeared to be not working.
> The exception is printed, but the app works, because it is redeployed
> afresh, ignoring the modified XML file.
> 
> In Tomcat 5.5 I was not observing this, because host-manager is not
> present in webapps, but I can reproduce such successful redeployment
> with jsp-examples.
> 
> I think it would be better if broken context file in conf would
> prevent deployment from webapps as well.

+1

Rainer

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

Reply via email to