TOMCAT Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.

Posted jtlgb

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了TOMCAT Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.相关的知识,希望对你有一定的参考价值。

十二月 31, 2014 2:32:45 下午 org.apache.coyote.http11.AbstractHttp11Processor process
信息: Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.

经过调试后发现是Tomcat的header缓冲区大小不够,只需要在server.xml中增加maxHttpHeaderSize字段即可:

 

<Connector URIEncoding="UTF-8" port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol"
	useBodyEncodingForURI="false"
	enableLookups="false"
               connectionTimeout="20000"
               redirectPort="8443" maxHttpHeaderSize="你想要的大小"/>

 

 

不过使用Web提交就不会出现这种问题,即使手机端再三强调使用的是Post方式,仍怀疑是因为使用的Get导致Header数据过长.



以上是关于TOMCAT Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.的主要内容,如果未能解决你的问题,请参考以下文章

[Java Web]Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors(

信息: Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will

GHOST CMS - Handlebars Themes - Further Reading

CF802L Send the Fool Further! (hard) 树上高斯消元

linux 用SSH连接No further authentication methods available"问题

java.net.ConnectException:Connection timed out:no further information: