search cancel

Unable to create directory - number of parameters exceeded the maximum of 1000

book

Article ID: 238795

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Suite

Issue/Introduction

When trying to create a Directory within the Identity Management console, when trying to submit all the user attribute mappings an "HTTP 500 Internal Server Error" is thrown when proceeding to click next.

The logs display the below error:
ERROR [io.undertow.request] (default task-8) UT005023: Exception handling request to /iam/immanage/newdirectory.do: java.lang.IllegalStateException: UT000047: The number of parameters exceeded the maximum of 1000at io.undertow.server.handlers.form.FormData.add(FormData.java:77) [undertow-core-1.1.0.Final.jar:1.1.0.Final]at io.undertow.server.handlers.form.FormData.add(FormData.java:67) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

Environment

Release : 14.X

Component : Identity Manager

Resolution

The solution is to introduce the max-parameters attribute to the http-listeners within the standalone-full.xml or standalone-full-ha.xml depending on your configuration.

Navigate to:

            <server name="default-server">
                <http-listener enable-http2="true" name="default" redirect-socket="https"/>
                <https-listener enable-http2="true" name="https" security-realm="ApplicationRealm" socket-binding="https"/>
                <host alias="localhost" name="default-host">
                    <location handler="welcome-content" name="/"/>
                    <http-invoker security-realm="ApplicationRealm"/>
                </host>
            </server>

and change it to:

            <server name="default-server">
                <http-listener enable-http2="true" name="default" redirect-socket="https" socket-binding="http" max-parameters="10000"/>
                <https-listener enable-http2="true" name="https" security-realm="ApplicationRealm" socket-binding="https" max-parameters="10000"/>
                <host alias="localhost" name="default-host">
                    <location handler="welcome-content" name="/"/>
                    <http-invoker security-realm="ApplicationRealm"/>
                </host>
            </server>

Additional Information

Please reference the Wildfly documentation for more information regarding this declaration:

https://wildscribe.github.io/WildFly/15.0/subsystem/undertow/server/http-listener/index.html