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 2017/11/23 11:44:35 UTC

[Bug 61804] New: Manager intermittently closes connection during deployment

https://bz.apache.org/bugzilla/show_bug.cgi?id=61804

            Bug ID: 61804
           Summary: Manager intermittently closes connection during
                    deployment
           Product: Tomcat 8
           Version: 8.5.11
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: dan.hawkes@fissara.com
  Target Milestone: ----

I'm seeing the manager prematurely close the connection when calling the
/text/deploy API. The deployment itself is eventually successful, but this
means the's no reliable way of telling if the deployment is succeeding.

When the connection is closed, the manager appears to stop accepting
connections for a while - I suspect until the deployed application is running. 

- Approximately 50% of requests fail with the connection being closed.
- There doesn't appear to be a constant amount of time before these failures -
anything from 20 - 200 seconds.
- Both the manager and other apps are served on the same port.
- I'm testing this with curl on localhost, so can rule out proxy-related issues


Any thoughts on what might be causing this?

-- 
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 61804] Manager intermittently closes connection during deployment

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

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
This is too early to file a bug, you need to investigate the deploy time
behavior described on the user list first. IMO the root "cause" is that there
is no progress feedback during the deployment, and the deploy method is synced
(= "the manager appears to stop accepting connections for a while"). The
outcome of the deploy operation is not tied to the http connection timing out
as well (that's a good thing). Thus, it is likely the webapp deploy simply
takes a very long time [which might or might not be caused by a bug].

-- 
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 61804] Manager intermittently closes connection during deployment

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

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
+1

I've confirmed that the Manager application continues to be responsive to other
commands (e.g. list) while a deployment is in progress.

I have also been unable to replicate the broken connection (with curl on
localhost) with an app that takes 5+ minutes to deploy.

To save an iteration on the users list, I recommend you look at the traffic
with Wireshark to see exactly what is going on.

Also, when you do post, please ensure you provide the full <Connector ... />
configuration from server.xml

-- 
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