Can anyone help with this problem?
I am using an xml context file to point to my war file. In tomcat4 when I had a new version of the WAR file, I simply replace the old one and restarted tomcat. I can not get tomcat5 to work like this. I replace the old file with the new one, restart tomcat5, go to
http://localhost:8080/MyApp, and the old WAR is still running. The only way I get the new one to launch is by deleting the contents of webapps\MyApp and work\MyApp.
Here are the details. The xml context file is stored in
<tomcat_home>\conf\Catalina\localhost
This is my context file:
<Context path="/MyApp"
docBase="D:/WarFiles/MyApp.war"
debug="0"
privileged="true">
</Context>
From server.xml
<Host appBase="webapps"
autoDeploy="true"
debug="0"
deployOnStartup="true"
deployXML="true"
name="localhost"
unpackWARs="false"
xmlValidation="false"
xmlNamespaceAware="false">
</HOST>