Skip to main content

Configure Tomcat Parameter Limits

Due to a change in Tomcat defaults relating to multipart forms, the following configuration adjustment is currently required when upgrading to Tomcat version 9.0.106 (or above).

In Tomcat 9.0.106 there is a new default setting that restricts multipart forms to a maximum of 10 parts. This setting is too low to support the form functionality on the SuperWEB2 Custom Data page.

WingArc may address this in a future release through changes to the underlying form structure on that page, but in the interim you will need to change a setting in Tomcat’s server.xml file to increase the limit from the default:

  1. Open <tomcat_home>/conf/server.xml in a text editor.

  2. Locate the following section, which defines the main connector for the server:

    CODE
        <Connector port="8080" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443"
                   maxParameterCount="1000"
                   />
  3. Add the maxPartCount parameter, with a value of 100:

    CODE
        <Connector port="8080" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443"
                   maxParameterCount="1000"
                   maxPartCount="100"
                   />
  4. Save your changes, and restart Tomcat or the SuperWEB2 service.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.