The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The feature can be disbled by setting this attribute to a value inferior or equal to 0. If not specified, this attribute is set to 2097152 (2 megabytes).
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html
Tomcat이 디폴트로 약 2메가 정도의 Post 데이터만 처리…
따라서 $TOMCAT_HOME/conf/server.xml 에서 Connector> 엘리먼트에 maxPostSize를 추가..
(0이면 무제한인듯)
1 2 3 4 5 |
<Connector port="8102" minProcessors="1" maxProcessors="5" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="120000" useBodyEncodingForURI="true" maxPostSize="3145728" protocol="AJP/1.3" /> |