You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/01/22 13:29:01 UTC

[Bug 56051] New: FarmWarDeployer sporadically fails with "application being serviced"

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.gloegl@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56051] FarmWarDeployer sporadically fails with "application being serviced"

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56051

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
I've come back to this and looked at the code more carefully. I mis-read it the
first time around and I can't see a potential bug here. I can see how you might
be able to trigger this issue with certain configurations. Can you provide the
config you are using for the FarmWarDeployer and include details of any
directories that might be shared between machines.

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

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


[Bug 56051] FarmWarDeployer sporadically fails with "application being serviced"

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56051

--- Comment #2 from Keiichi Fujino <kf...@apache.org> ---
Tomcat7.0.28 seems a little old.
This looks like the same thing as following.
http://marc.info/?t=131921184900047&r=1&w=2

In addition to this bug, FarmWarDeployer has been significantly modified in
Tomcat7.0.40.
http://svn.apache.org/viewvc?view=revision&revision=1471259
http://svn.apache.org/viewvc?view=revision&amp;revision=1468290

You can try again with the latest Tomcat.
The latest Tomcat7 is 7.0.50.

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

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


[Bug 56051] FarmWarDeployer sporadically fails with "application being serviced"

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56051

--- Comment #3 from Michael Gloegl <m....@gmail.com> ---
Old version might be a thing :( Unfortunately 7.0.28 is what is currently
available in Debian wheezy, I will try and figure out if we can get to 7.0.50

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

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


[Bug 56051] FarmWarDeployer sporadically fails with "application being serviced"

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56051

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #4 from Mark Thomas <ma...@apache.org> ---
I can't reproduce this with the current 7.0.x trunk.

If you are able to recreate this with the latest 7.0.x release then please feel
free to re-open this bug and provide the configuration you are using.

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

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