Author: kfujino
Date: Thu Jul 25 09:35:44 2013
New Revision: 1506863

URL: http://svn.apache.org/r1506863
Log:
In order to unpack a WAR, remove the directory before reload a WAR.
In a deployment by context descriptor, WAR that registered to redeploy 
resources always trigger a reload. 

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java

Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java?rev=1506863&r1=1506862&r2=1506863&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java Thu Jul 25 
09:35:44 2013
@@ -634,7 +634,7 @@ public class HostConfig
                                 Long.valueOf(warDocBase.lastModified()));
                     } else {
                         // Trigger a reload if a WAR is added
-                        deployedApp.reloadResources.put(
+                        deployedApp.redeployResources.put(
                                 warDocBase.getAbsolutePath(),
                                 Long.valueOf(0));
                     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to