昨天晚上加班到快十点的时候,系统突然出现了一个问题:
SEVERE: Servlet.service() for servlet [springmvc] in context with path [/nestle] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: An attempt was made to write more data to the response headers than there was room available in the buffer. Increase maxHttpHeaderSize on the connector or write less data into the response headers.] with root cause
java.lang.IllegalStateException: An attempt was made to write more data to the response headers than there was room available in the buffer. Increase maxHttpHeaderSize on the connector or write less data into the response headers.
由于这两天被压力测试搞得一团乱麻,看到报错了后压根没心情解决,关上电脑立马闪人了。
早上来了还是得继续解决。
折腾了一上午都不知道啥原因,看到有说要修改maxHttpHeaderSize的大小,看了下tomcat的官方文档,默认的大小是8k,修改了后,是不报错了,但是登陆之后一直请求不到资源,浏览器调试报错如下:
Failed to load resource