Symptoms
The error is reported when attempting to load a noc.war hot fix or new release in Tomcat Manager (select the noc.war and then click 'Deploy').
Cause
The default maximum upload size for a Tomcat server is 50MB and the noc.war file is larger than this limit.
Workaround
Increase the file size limit in Apache Tomcat:
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
For CDPA (FreeBSD):
/usr/local/apache-tomcat-8.0/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
...