Bo's blog

Friday, August 14, 2015

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.


Issue:

(Thread-1295 (HornetQ-client-global-threads-844348376)) 09:09:31,348 INFO  [...] message: 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.
        at org.apache.tomcat.util.http.Parameters.addParameter(Parameters.java:184)
        at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:360)
        at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:213)
        at org.apache.catalina.connector.Request.parseParameters(Request.java:2880)
        at org.apache.catalina.connector.Request.getParameter(Request.java:1298)
        at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:350)
...
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)


Solution: 

/system-property=org.apache.tomcat.util.http.Parameters.MAX_COUNT:add(value=-1)

Labels: , ,

1 Comments:

At 3:27 AM, Blogger BurbiaTech said...

in which file do you set that parameter?

 

Post a Comment

<< Home