Shammer's Philosophy

My private adversaria

Tomcat configuration

I cannot transfer big data to tomcat. In detail, tomcat seems to stop reading post parameter if it's size is big(I tried more than 50MB text).
This is caused by default tomcat config parameter "maxPostSize". Changing this parameter to -1 and restart tomcat, tomcat becomes to be able to get big post data.
The documentation link is here.
And config examples.

    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000" maxPostSize="-1"
               redirectPort="8443" />