How to increase maximum upload file size

Keywords: Tomcat - Amazon Web Services - Technical issue - Other
Description:
I tried to upload large war file through Bitnami tomcat but fail with the fileuploadbase$sizelimitexceededexception error. My war’s size was larger than maximum file upload size (83886080). May I know where I can change the file size limit?

Hi @YaMin,

Could you try increasing the size by adding the following to the /opt/bitnami/apache-tomcat/webapps/ROOT/WEB-INF/web.xml file?

<max-file-size>52428800</max-file-size>
<max-request-size>52428800</max-request-size>

You can find more information about it here:

https://maxrohde.com/2011/04/27/large-war-file-cannot-be-deployed-in-tomcat-7/

Best regards,

Michiel D’Hont


Please, click on :heart: if you think my answer was helpful

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.