With the maxPostSize attribute you define the maximum size in bytes of data requests that can be passed to a server in a single http call.
If the application workspace is exceeding during a transaction in a grid, you will see error message 'ERR-7620 Could not determine workspace for application ()'.
-
Locate your Tomcat’s server configuration file at
$Tomcat\conf\server.xml
-
Set appropriate maxPostSize attribute.
For example, to limit the data requests to 100MB (100*1024*1024):
<Connector port="8009" protocol="AJP/1.3" maxPostSize="104857600" redirectPort="8443" />
Alternatively, to disable this limit, which means the server will accept requests no matter how big, set maxPostSize to -1:
<Connector port="8009" protocol="AJP/1.3" maxPostSize="-1" redirectPort="8443" />
If not specified maxPostSize will be defaulted to 2MB.