You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Anil Gangolli <an...@busybuddha.org> on 2005/03/07 18:06:53 UTC
Tomcat 5.5.7 deleting context configuration and webapp
Hi:
I'm seeing the following unexpected behavior on Tomcat 5.5.7:
Place a context configuration file in CATALINA_HOME/conf/Catalina/localhost/myapp.xml with a mistyped docBase attribute (so as to be point to a non-existent directory).
Startup and then shutdown Tomcat; Tomcat seems to delete both the configuration file and the entire corresponding exploded web app directory CATALINA_HOME/webapps/myapp
This seems to be new behavior with 5.5.7. Tomcat 5.5.4 exhibits a hanging problem on startup in the same circumstances, but doesn't delete everything when stopped. Tomcat 5.0.28 exhibited neither of these.
Is this deletion now expected behavior or is it a bug? If it is expected, is there any way to disable it?
I am seeing this on Tomcat 5.5.7 with default configuration over JDK 1.5.0_01 on Win XP
--a.