Chen Kozhan
==============
View the Manager.2015-02-09.log file under the logs directory in the Tomcat installation directory to discover:
Severity: Htmlmanager:fail-deploy Upload Failed, exception:org.apache.tomcat.util.http.fileupload.fileuploadbase$ Sizelimitexceededexception:the request was rejected because its size (53891399) exceeds the configured maximum (52428800) java.lang.illegalstateexception:org.apache.tomcat.util.http.fileupload.fileuploadbase$ Sizelimitexceededexception:the request was rejected because its size (53891399) exceeds the configured maximum (52428800) At Org.apache.catalina.connector.Request.parseParts (request.java:2804) at Org.apache.catalina.connector.Request.parseParameters (request.java:3096) at Org.apache.catalina.connector.Request.getParameter (request.java:1145)
....
Depending on the log content, it is not difficult to find the cause of the problem:
This indicates that the uploaded deployment file exceeded the set size, so the deployment failed!
Solution:
We only need to modify a configuration file, configuration file location: $tomcat _home\webapps\manager\web-inf\web.xml
See no, here limit the maximum is 50MB, and then according to their own needs to modify can
This is then modified to 100MB, i.e. 104857600
after modification, restart the Tomcat server and perform the previous deployment operation
OK, deployment is successful!
Tomcat Deployment War package size exceeds the limit size (critical: Htmlmanager:fail-deploy Upload Failed, Exception)