Unable to create directory - number of parameters exceeded the maximum of 1000 - Identity Manager
search cancel

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

book

Article ID: 238795

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Suite

Issue/Introduction

In the Identity Management console, an HTTP 500 Internal Server Error occurs when submitting user attribute mappings and clicking 'Next' during directory creation.

The logs display the following 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 1000 at 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

For more details on this declaration, refer to the WildFly documentation.

WildFly 15.0 Model Reference