Why does tomcat like deleting my context.xml file?
- by staticsan
I'm developing a web-based Java application at work and (obviously) have to run it locally during development. I've figured out the Tomcat docs and have a suitable context.xml file in /etc/tomcat6/Catalina/localhost/ but every so often, Tomcat decides to delete it! Which means I have to put it back and restart Tomcat.
Why does it do this? I have searched the Tomcat docs about it and am none the wiser.
(Oh yes: it's not actually called context.xml but owners.xml as that's the HTTP path prefix for this application.)
Update
I've now seen Tomcat delete the file whilst Tomcat was running. I think I need to file a bug...