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

            Bug ID: 66535
           Summary: FarmWarDeployer will fail to deploy a WAR file when
                    maxvalidtime is less than the time it takes to
                    transfer
           Product: Tomcat 9
           Version: 9.0.x
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Cluster
          Assignee: dev@tomcat.apache.org
          Reporter: aw...@bossnine.com
  Target Milestone: -----

We have been tracking down an issue where a cluster using FarmWebDeployer would
only deploy to some nodes, and on others the war file would be written to the
tempdir, but would fail to deploy. 

The destination tempdir war file would eventually become 0 bytes on the failed
nodes, with no log entries to explain why. 

After extensive testing, it was determined that maxValidTime is not a setting
relevant to idle time or files left open but not being written to, but is
actually a time limit on the amount of time a FileMessageFactory file can be
open at all.

The file will be immediately unlinked and appear as 0 bytes in the tempdir
location as soon as the maxvalidtime has run out, regardless of the fact that
the deployer is actively writing to it.

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