Overview
You have an application installed on your Aurea Process server with the JBoss Enterprise Application Platform that passes a large number of request parameters in a single request. When this single request is made in the BPM Portal, it generates the following error in the portalServer.log file:
JBWEB000236: Servlet.service() for servlet jsp threw exception: java.lang.IllegalStateException: JBWEB002004: More than the maximum number of request parameters (GET plus POST) for a single request (512) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector.
Prerequisites
-
Permissions to modify the portalServer.xml file under SBM_HOME\jboss\portalServer\configuration
Solution
- In a text editor, open the portalServer.xml file found in SBM_HOME\jboss\portalServer\configuration directory.
- Add or edit the org.apache.tomcat.uitil.http.Parameters.MAX_COUNT property in the system-properties tag and set a value that meets your application's requirements. The following is an example of setting this parameter to 5000:
<?xml version='1.0' encoding='UTF-8'?>
<server xmlns="urn:jboss:domain:2.0">
...
<system-properties>
...
<property name="org.apache.tomcat.util.http.Parameters.MAX_COUNT" value="5000"/>
...
</system-properties>
... - Restart the Aurea Process server.
Testing
Once the change is made to the portalServer.xml file and the Aurea Process server is restarted, your application should make the request with no errors in the portalServer.log file.