Hi, everybody. There is a problem with manager (I use it via ant tasks from catalina-ant.jar). I hoped, it would be solved in 5.x generation of tomcat, but apparently it's not, so I decided to fill in this request. Suppose I have a webapplication running on a production server and I want to replace it with newer version. Ant "deploy" task (even with attribute "update=true") does the following: first undeploy existing app, then upload new war (depending on connection, in my case, it can take up to 2 minutes), then deploy it. All that time, while war file was uploading, webapplication was inaccessible, also, if uploading failed for some reasons, webapp is left in undeployed state. So, my suggestion is to change behaviour of manager "deploy" functionality in such a way, that war file first gets uploaded to the server, and only after that the process of redeployment starts.
Well, sorry, but it won't be fixed. If you want to have continuous availability, I recommend exploring clustering.
I'm just curious. Why won't it be fixed? To much effort? Or not possible theoretically?