当前位置: 首页 > 工具软件 > go-deploy > 使用案例 >

FAIL - Deploy Upload Failed, Exception: [org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeL...

侯焱
2023-12-01
Message: 
FAIL - Deploy Upload Failed, Exception: [org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (112503036) exceeds the configured maximum (52428800)]

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

 

Solution
Go to the web.xml of the manager application (for instance it could be under /tomcat7/webapps/manager/WEB-INF/web.xml.
Increase the max-file-size and max-request-size:
<multipart-config>

<!– 50MB max –>

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

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

<file-size-threshold>0</file-size-threshold>

</multipart-config>

 

转载于:https://www.cnblogs.com/rgqancy/p/10074995.html

 类似资料: