Question

Error when try to upload new project on Tomcat manager

I have set up a Droplet[OS: linux, Ubuntu] & configured Tomcat manager on it. Now when i try to upload new war file for a new project, i get this error : ** Deploy Upload Failed, Exception: org.apache.tomcat.util.http.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. null**

I tried all solutions with no luck.

Any help?

Subscribe
Share

This comment has been deleted


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

By default Tomcat has a max upload size of 50MB. (I.e max size of WAR file)

If you require larger file, try increasing max-file-size and max-request-size within the tomcat web.xml. Note: those values are both stored in bytes.

Edit …/webapps/manager/WEB-INF/web.xml. (Ensure the file sizes are larger than the war file your trying to upload). I.e if you require 80MB WAR,

<max-file-size>82914560</max-file-size> <max-request-size>82914560</max-request-size> Then restart apache tomcat.