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.
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.
From Tomcat 9.0.107 onwards the default value has been increased to 50, which is sufficient to support the Custom Data forms. The below configuration adjustment is therefore not required for Tomcat 9.0.107 and above.
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:
Open <tomcat_home>/conf/server.xml in a text editor.
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" />
Add the
maxPartCount
parameter, with a value of100
:CODE<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxParameterCount="1000" maxPartCount="100" />
Save your changes, and restart Tomcat or the SuperWEB2 service.