Reputation:
I have just finished developing a web app with java(spring and tomcat) and it works well,i exported the war, and when i'm trying to deploy it into tomcat8 manager, it gives me an error
Upvotes: 0
Views: 898
Reputation: 69440
Problem is the file size of your war
file. it can not be uploaded, because the max-file-size value is to small. Change it in the web.xml
of your Manager application
You find the file under /webapps/manager/WEB-INF/web.xml.
There you have to Change in this section:
<multipart-config>
<max-file-size>52428800</max-file-size>
<max-request-size>52428800</max-request-size>
<file-size-threshold>0<</file-size-threshold>
</multipart-config>
Upvotes: 2