Hi, I have noticed that at least in version 5.0.28, that undeployment of a web-app using tomcat manager, removes all the related files/directories of that web-app in both catalina_home/webapp directory and catalina_home/work/<standard-engine>/<host> directory.
I have done the undeployment by clicking the 'undeploy' link for that web-app at http://<host>:8080/manager/html, where <host> is 'localhost' for my configuration.
However, I started using Tomcat 5.5 and 'undeploy' does not cleanup the directories(catalina_home/work/<standard-engine>/<host> , because of which, when I redeploy the application by simply copying the war file to 'catalina_home\webapp' directory, Tomcat is still using old class files for the java classes in my web-app.
I tried restarting Tomcat to get around this problem and that did not do the cleaning properly either and I ran into the same problem with old versions of my class files.
That gives rise to the following questions, 1) Is this a bug with Tomcat 5.5? Does not seem likely to me, because this would be a serious blow to its main funcationality.
2) Are the 'deployment', 'undeployment', 'start', 'stop' and 'reload' supposed to be done in some other way than the one I am doing(Which is using links on http://<host>:8080/manager/html page for the corresponding web-app)? If so, what is it?
3) Are there any settings that need to configured in server.xml to make this work properly?
I greatly appreciate any relevant responses for my questions. Thanks