Bug 56273 - Manager webapp: when command is skipped because web application is being serviced, say about it
Manager webapp: when command is skipped because web application is being serv...
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Manager
7.0.52
PC All
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2014-03-15 20:53 UTC by Konstantin Kolinko
Modified: 2014-03-23 18:00 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kolinko 2014-03-15 20:53:17 UTC
Looking at deploy/undeploy/upload methods in ManagerServlet, HtmlManagerServlet

The methods call "if (!isServiced(name))"  and if the web application is being serviced (e.g. by another command running in parallel) the methods skip their work and report success.

Instead of that they should report that they skipped their work.
Comment 1 Mark Thomas 2014-03-23 18:00:42 UTC
This has been fixed in 8.0.x for 8.0.5 onwards and in 7.0.x for 7.0.53 onwards.