Bug 28014 - While uploading war file, running webapplication must not be stopped
Summary: While uploading war file, running webapplication must not be stopped
Status: RESOLVED WONTFIX
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Webapps:Manager (show other bugs)
Version: 5.0.19
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-29 13:48 UTC by Firepica
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Firepica 2004-03-29 13:48:40 UTC
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.
Comment 1 Remy Maucherat 2004-03-29 13:52:44 UTC
Well, sorry, but it won't be fixed. If you want to have continuous availability,
I recommend exploring clustering.
Comment 2 Firepica 2004-03-29 17:34:20 UTC
I'm just curious. Why won't it be fixed? To much effort? Or not possible 
theoretically?