How to define http-listener' `max-parameter` at the application-level, not server-level?

685 views Asked by At

The problem

We're facing the UT000047: The number of parameters exceeded the maximum of 1000 issue.

(We use WilfdFly 16).

What we tried, and worked, but is not acceptable

We followed the solution in UT000047, i.e. increase the max-parameters of the http-listener in the "standalone.xml" file:

<subsystem xmlns="urn:jboss:domain:undertow:8.0">
  <server name="default-server">
    <http-listener name="default" ... max-parameters="2000" />

This works: no UT000047 any more.

But this solution is rejected by our organization (since it implies to modify all the WF services of our organization, just to make 1 page of 1 application works).

What we'd prefer

We would prefer to increase the max-parameter attribute only for this application (even better: only for the HTML page).

We know that some application-specific configuration can be made through a "WEB-INF/jboss-deployment-structure.xml". Such a solution would be fine for us. But (AFAIK) the max-parameter cannot be defined in this file.

0

There are 0 answers