Configure maxPostSize for Tomcat - Version 2020 (10.0) - Hexagon

Smart Materials Web Installation (10.1)

Language
English
Smart Materials/Smart Reference Data Version
10.1

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 ()'.

  1. Locate your Tomcat’s server configuration file at

    $Tomcat\conf\server.xml

  2. 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.