Hi Team,
I am seeing a error(400) while loading tasklist form which was working on 7.19 but failing at 7.21.3 version after JAVA 21 upgrade with spring 3.2.3
Request is failing with error on java logs request header too large… problem here is backend call to get variables is using variableNames param with large string as i have 1000 variables .
somehow it worked with lower version of tomcat server 9.x.x but faling with 10.x.x
i have tried multiple solutions to increase header size limit to 10MB
something like this
tomcat:
max-http-header-size: 65536
max-swallow-size: 20971520 # 20MB
max-http-form-post-size: 20971520 # 20MB
java.lang.IllegalArgumentException: Request header is too large
at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:774) ~[tomcat-embed-core-10.1.26.jar:10.1.26]