Tomcat Manager: Cannot Upload Large WAR file


I am getting an exception while I try to deploy my app using Tomcat manager. The manager fails to upload the file. The size of my war file is 85 MB. But for small war files, the manager works fine. I tried with a “Hello World” application (size 5 KB), and it worked fine.
I have increased max-file-size in manager’s web.xml, and also tried increasing connectionTimeout in server.xml. But nothing is helping.

Here is the exception.


Go to the web.xml of the manager application (/tomcat/webapps/manager/WEB-INF/web.xml).

Increase the max-file-size and max-request-size

Leave a Reply