7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Tomcat7 admin-managerでのWARファイルアップロード制限変更

Last updated at Posted at 2015-03-13

下記に定義されているので、変更してTomcat再起動。

/usr/share/tomcat7-admin/manager/WEB-INF/web.xml
    <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>

Jenkinsなどは50MBを超えるため、
この値を変更しないと、「SizeLimitExceededException」が返される。

7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?