How deploy geoserver web archive with apache tomcat 8?

拈花ヽ惹草 提交于 2019-12-05 10:16:10

The reason for this is because, Tomcat WebServer has a size limit of 50 mb max which is smaller than Geoserver war file. All you need to do is to modify

DIR\webapps\manager\WEB-INF\web.xml

and modify the following lines:

<multipart-config>
  <!-- 52MB max -->
  <max-file-size>52428800</max-file-size>
  <max-request-size>52428800</max-request-size>
  <file-size-threshold>0</file-size-threshold>
</multipart-config>

Just set the size as follow (520 mb in my case or whatever value you want.)

<max-file-size>524288000</max-file-size>
<max-request-size>524288000</max-request-size>

Hope it solves your problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!