Tomcat の WAR アップロードのサイズ上限

Tomcat manager で、WARデプロイには、アップロードのサイズ制限があった。。。

/webapps/manager/WEB-INF/web.xml に書いてある。
デフォルトは、 50MB

<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>

100MBにしたければ、、

<multipart-config>
  <!-- 100MB max -->
  <max-file-size>104857600</max-file-size>
  <max-request-size>104857600</max-request-size>
  <file-size-threshold>0</file-size-threshold>
</multipart-config>


で、再起動して使う。