3 Replies Latest reply on Nov 23, 2016 10:43 AM by atulkaushal

    UT000047: The number of parameters exceeded the maximum of 1000

    atulkaushal

      Hi,

      We are getting  UT000047: The number of parameters exceeded the maximum of 1000 for one of the use case. I fixed this issue with the help of  solution mentioned on UT000047: The number of parameters exceeded the maximum of 1000 .

      But this fix only work if I use internal URL to access application. If I use Apache front end URL then I am still getting this issue.

      Environment details:

      Wildfly 9

      JDK 8

      Domain mode

      Full-ha profile

       

      I also tried adding it in domain..xml to system-properties

      {code}

      <property name="org.apache.tomcat.util.http.Parameters.MAX_COUNT" value="10000" />

      {code}

       

      Entry in full-ha profile:

      {code}

      <subsystem xmlns="urn:jboss:domain:undertow:2.0">

                      <buffer-cache name="default"/>

                      <server name="default-server">

                          <http-listener name="default" socket-binding="http" redirect-socket="https"/>

                          <host name="default-host" alias="localhost">

                              <location name="/" handler="welcome-content"/>

                              <filter-ref name="server-header"/>

                              <filter-ref name="x-powered-by-header"/>

                          </host>

                      </server>

                      <servlet-container name="default">

                          <jsp-config/>

                          <websockets/>

                      </servlet-container>

                      <handlers>

                          <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>

                      </handlers>

                      <filters>

                          <response-header name="server-header" header-name="Server" header-value="WildFly/9"/>

                          <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>

                      </filters>

                  </subsystem>

      {code}

       

      Any kind of pointers or help will appreciated.

       

      Thanks,

      Atul

        • 1. Re: UT000047: The number of parameters exceeded the maximum of 1000
          jaikiran

          Atul Kaushal wrote:

           

          Hi,

          We are getting UT000047: The number of parameters exceeded the maximum of 1000 for one of the use case. I fixed this issue with the help of solution mentioned on UT000047: The number of parameters exceeded the maximum of 1000 .

          But this fix only work if I use internal URL to access application. If I use Apache front end URL then I am still getting this issue.

          That should work irrespective of whether you have fronted WildFly with Apache, unless of course you configured that setting on a different listener than the one Apache directs the request to or set it in a wrong configuration file. What exactly does your Apache configuration look like?

          • 2. Re: UT000047: The number of parameters exceeded the maximum of 1000
            ctomc

            well looking at your configuration, you didn't modify max-paramters setting for http-listener

            <http-listener name="default" socket-binding="http" redirect-socket="https"/>

            should be

            <http-listener name="default" socket-binding="http" redirect-socket="https" max-parameters="5000"/>

             

            also

            <property name="org.apache.tomcat.util.http.Parameters.MAX_COUNT" value="10000" />

            has no effect in WildFly 8+, this was for jbossweb in AS7 only.

            • 3. Re: UT000047: The number of parameters exceeded the maximum of 1000
              atulkaushal

              Sorry for the typo. I added max parameters to http-listener but it didn't work.

              Then I also added it to ajp-listener and it worked for both internal and external URLs.

               

              <ajp-listener name="ajp" socket-binding="ajp" max-parameters="10000"/>

              <http-listener name="default" socket-binding="http" redirect-socket="https" max-parameters="10000"/>