Hot deploying with Tomcat Manager fails because file already exists
- by Artem
Tomcat beginner question that I hope will help many.
Could someone explain how TomCat hot deploy is supposed to work. We have a currently deployed 'TomCatTest', and we want to fix a small bug in 'TomCatTest' with no downtime for users.
We are using the Tomcat Manager console, and just trying to upload a file there.
We must be making a stupid error, but we see:
'FAIL - War file "TomCatTest.war" already exists on server'
There are many many posts suggesting this works somehow: http://serverfault.com/questions/120706/replace-single-file-on-tomcat-deployed-war
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Automatic%20Application%20Deployment
For the life of me, I can't figure out this simple problem.
Could you help, please?