Hi, We are using Tomcat 6.0.14 and we found that sometimes if Tomcat is restarted few number of times it deletes the default web.xml under “../Tomcat/apache-tomcat-6.0.14/conf” directory. Sometimes this issue also occurs if we are hot deploying our WAR.
I found similar bug Bug 44725 https://issues.apache.org/bugzilla/show_bug.cgi?id=44725 -Tomcat delete context.xml and web.xml if re-naming Folders in CONF in Tomcat bug list. But we are not doing anything like renaming any critical directory when Tomcat is running. We are only either doing a hot deployment or just restarting Tomcat and still facing this issue. We are defining contexts explicitly and Tomcat best practices recommend that one should probably turn off automatic application deployment in such cases. Still Tomcat should not delete default web.xml, the best practices say nothing about problems to default web.xml it only states about problem to context.xml. Can you please help let us know what might be the possible cause in this issue? Thank you, Jitendra