https://issues.apache.org/bugzilla/show_bug.cgi?id=54007
Priority: P2 Bug ID: 54007 Assignee: dev@tomcat.apache.org Summary: Improve handling of failed web application deployments Severity: normal Classification: Unclassified OS: Windows XP Reporter: knst.koli...@gmail.com Hardware: PC Status: NEW Version: 6.0.35 Component: Catalina Product: Tomcat 6 1) If Tomcat 6 runs with autodeployment being enabled, and a web application deployment fails, Tomcat will repeat attempts to autodeploy the application every 10 seconds. So every 10 seconds an error message is printed into the error log. To reproduce: place a broken context xml file (e.g. with a typo) into conf/Catalina/localhost. 2) The input stream for the broken context xml file is not properly closed. When running on Windows the file cannot be deleted without stopping Tomcat. 3) If a broken web application is deployed via Manager web application GUI, it fails to deploy and it is not displayed in the list of the applications. As a consequence - It cannot be undeployed via GUI, as it is absent from the list. If one crafts the command URL manually, it fails with "FAIL - No context exists for path /test" - It cannot be replaced with a new correct version of the application, because if you try to upload a new war, it fails with "FAIL - War file "test.war" already exists on server" Note, that in Tomcat 7 the issue has already been fixed in 7.0.23 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org