Parameter Count Exceeded Allowed Maximum
Last modified by superadmin on 2026/11/25 21:30
Large XWiki forms exceed the number of request parameters Tomcat accepts until maxParameterCount is raised on the HTTP connector.
Explanation
When submitting a form in XWiki, you may encounter an error similar to the following:
java.lang.IllegalStateException:
Parameter count exceeded allowed maximum: 512Cause
Tomcat limits the maximum number of request parameters accepted in a single HTTP request. Large XWiki forms can exceed this default limit.
Solution
- Open the TOMCAT_HOME/conf/server.xml file.
- Locate the <Connector> element used by your HTTP connector.
- Increase the maxParameterCount value. For example:
<Connector port="8080" maxParameterCount="10000" /> - Save the file.
- Restart Tomcat.