Have been working on a WAR project that is pretty big (104MB) against Tomcat 8. The Ant command:
<deploy url="${url}" username="${username}" password="${password}" path="${path}" war="file:${dist.home}${path}.war" /> Was working fine. After upgrading to the last JDK 8 (1.8.0_172) and Tomcat 9.0.8 this command results in: build.xml:832: java.io.IOException: Error writing request body to server I've googled but all I have found is that the Tomcat manager application has a 50MB default upload limit, which I changed to: <multipart-config> <!-- <max-file-size>52428800</max-file-size> <max-request-size>52428800</max-request-size> --> <max-file-size>150000000</max-file-size> <max-request-size>150000000</max-request-size> <file-size-threshold>0</file-size-threshold> </multipart-config> And yet after restarting Tomcat, the error remains. Can anyone else replicate this behavior or suggest a fix?