Mit Tomcat 9.106 wurden Änderungen am Multipart Request Processing vorgenommen. Genaueres kann hier nachgelesen werden: https://tomcat.apache.org/tomcat-9.0-doc/changelog.html. Die relevante Stelle ist:

Provide finer grained control of multi-part request processing via two new attributes on the Connector element. maxPartCount limits the total number of parts in a multi-part request and maxPartHeaderSize limits the size of the headers provided with each part. Add support for these new attributes to the ParameterLimitValve.


Dabei hat Tomcat den Default-Wert von maxPartCount auf 50 gesetzt, und das ist zumindest für das Gocompliant Tool Setup nicht ausreichend.

Zur Behebung des Problems genügt es, in der server.xml im Connector das Attribut

  • maxPartCount="200"

hinzuzufügen. Dokumentation zu dem Parameter finden Sie hier: https://tomcat.apache.org/tomcat-9.0-doc/config/http.html#Common_Attributes.


  • Keine Stichwörter