tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Gangolli" <>
Subject Tomcat 5.5.7 deleting context configuration and webapp
Date Mon, 07 Mar 2005 17:06:53 GMT

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


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message