我得到这个错误:

Exception during request processing:
Caused by javax.servlet.ServletException with message:
"Parameter count exceeded allowed maximum: 512"

似乎在一个日志中传递的参数数量是有限制的。
我如何在jboss中扩展这个限制?

最佳答案

所有Web服务器中的参数数量都受到限制,无法插入hashmap collision denial of service attack
您可以通过将以下系统属性添加到配置文件(例如standalone.xml)来提高限制:

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

source

10-02 16:51