https://issues.apache.org/bugzilla/show_bug.cgi?id=56051

            Bug ID: 56051
           Summary: FarmWarDeployer sporadically fails with "application
                    being serviced"
           Product: Tomcat 7
           Version: 7.0.28
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Cluster
          Assignee: dev@tomcat.apache.org
          Reporter: m.glo...@gmail.com

We are trying to use FarmWarDeployer at the moment, however it fails
ocassionally on the "slave" nodes with the following log message:

Jan 22, 2014 11:00:23 AM org.apache.catalina.ha.deploy.FarmWarDeployer
messageReceived
SEVERE: Application [/xxx] is being serviced. Touch war file [xxx.war] again!

It occurs sporadically and after touching the war the deployment usually works
in a second try. However it is pretty annoying because we always have to check
if deployment might have failed or not on individual nodes.

-----------------

Email Feedback from Mark:

It usually means that the manager application or the auto deployment code is
doing something (starting, stopping, deploying, undeploying etc) the web
application.

The Javadoc looks like it could do with some fixes.

Looking at the docs and the code, the problem is that the FarmWarDeployer
writes the WAR to the appBase and then marks it is serviced. This means that
the auto deployment code may get there first which confuses the
FarmWarDeployer.

I'd say this is a bug in the FarmWarDeployer. Please open a Bugzilla entry.

As a work-around, you should be able to disable automatic deployment
(untested).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to