Caused by: java.io.IOException: Error writing request body to server
at org.codehaus.cargo.container.tomcat.internal.TomcatManager.pipe(TomcatManager.java:820)
at org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:568)
at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deployImpl(TomcatManager.java:760)
at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:312)
at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:101)
... 77 more
I thought that my war file is too large so I have changed the limit size in tomcat manager:
<multipart-config>
<!-- 50MB max -> 52428800-->
<max-file-size>104857600</max-file-size>
<max-request-size>104857600</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>
I tried to deploy on Tomcat 8x
67795400 B
~68 MB
gradle cargoDeployRemote --stacktrace
I thought that my war file is too large so I have changed the limit size in tomcat manager: