Symptoms

The error pops-up when attempting to deploy an noc.war file in Tomcat manager.


Cause

Tomcat has not been configured to allow uploading files larger than 50 MB.


Workaround

1.Locate the file web.xml for editing.
- For Windows:
C:\Program Files\Apache Software Foundation\Tomcat\webapps\manager\WEB-INF\web.xml
- For Linux:
/opt/apache-tomcat-/webapps/manager/WEB-INF/web.xml
2.Edit the file web.xml to increase max-file-size and max-request-size to 100 MB:

...
104857600
104857600
...