Information
The maxHttpHeaderSize limits the size of the request and response headers defined in bytes.
Rationale:
Limiting the size of the header request can help protect against Denial of Service (DoS) requests.
Solution
Set maxHttpHeaderSize for each connector in $CATALINA_HOME/conf/server.xml to the appropriate setting.
maxHttpHeaderSize='8192'
Default Value:
By default this is set to 8192.
References:
https://tomcat.apache.org/tomcat-8.0-doc/config/http.html