Parameter count exceeded allowed maximum 512 Error

Jboss or Wildfly

We used to get below mentioned error while creating or selecting multiple reports to generate in applications deployed in Jboss. Few times it used to error as “Internal Server Error”. After few searching we found the solution, please follow the steps mentioned to fix the issue.

Error In Logs:

java.lang.IllegalStateException: Parameter count exceeded allowed maximum: 512
at org.apache.tomcat.util.http.Parameters.addField(
at org.apache.tomcat.util.http.Parameters.addParam(
at org.apache.tomcat.util.http.Parameters.processParameters(
at org.apache.tomcat.util.http.Parameters.processParameters(
at org.apache.catalina.connector.Request.parseParameters(
at org.apache.catalina.connector.Request.getParameterValues(
at org.apache.catalina.connector.RequestFacade.getParameterValues(

We need to increase the http.Parameters.MAX_COUNT to higher value to fix the issue. To set the value to some higher value please either of below two steps:

– Navigate to <jboss_home>/jboss-as/server/default/deploy/ folder and open properties-service.xml and add below entries before tag.


– Restart the JBOSS server.


– Go to the bin directory of JBoss installed location.i.e. JBOSS_HOME/bin
– Open file in vi editor and add the below parameter in JAVA_OPTIONS “E.g: export JAVA_OPTS”


– Restart the JBOSS server.


In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.

2 Responses

  1. Saiyam says:

    Can we increase the count greater than 10000?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.