In o.a.c.startup.HostConfig.checkResources() method of tc6.0.x and of trunk, there are two code paths that perform undeploy of an application -- look for the comment "// Undeploy application".
The first one is called when a redeployResources resource is updated. The second one - when it is deleted (unless its lastModified time was 0L). There is a difference: the second one has "// Delete reload resources as well (to remove any remaining .xml descriptor)" loop over app.reloadResources deleting them as well. May someone explain the difference? It would be nice to refactor those blocks of code in some common method. I am reviewing the proposed patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=47343 The issue was caused by the wrong ordering of resources that were added to HostConfig$DeployedApplication#redeployResources Thus I am trying to understand the code. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org