Tomcat large data object POST requests for Snapshots
In some situations the snapshot data can be very large. For Tomcat the MaxPostSize defaults to 2MB and this may not always be sufficient.
This can be amended according to the following instructions:
Amend server.xml as follows:
<Connector connectionTimeout="20000" port="8087" protocol="HTTP/1.1" redirectPort="8443" maxPostSize="0"/>
and
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" maxPostSize="0"/>
Setting MaxPostSize to 0 grants unlimited size on post requests