Why does tomcat like deleting my context.xml file?
Posted
by
staticsan
on Server Fault
See other posts from Server Fault
or by staticsan
Published on 2010-10-20T03:10:26Z
Indexed on
2013/10/27
3:58 UTC
Read the original article
Hit count: 442
tomcat
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...
© Server Fault or respective owner