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数据过长.

时间: 2024-10-03 21:41:18

TOMCAT Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.的相关文章

信息: Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.

Error parsing HTTP request header 最近在做一个SpringMvc项目的时候报错,错误如下: 信息: Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level. 显示错误的HTTP请求头,这里就很郁闷了,之前出现这个问题是因为提交数据超过了定义的header头内容, 那时候已经把tom

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

手机客户端向服务器提交Http请求时,Tomcat抛出错误: 十二月 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

File contains parsing errors: file:///etc/yum.repos.d/docker-ce.repo [line 84]: docker-ce-nightly-source]

? 错误:File contains parsing errors: file:///etc/yum.repos.d/docker-ce.repo ????[line 84]: docker-ce-nightly-source] ? 因为之前安装docker,但没有安装成功,有些残余文件留在系统里了,影响了yum命令,导致失败. ? 解决办法: 删除这个文件 /etc/yum.repos.d/docker-ce.repo 即可 ? 文章来源:刘俊涛的博客 欢迎关注,有问题一起学习欢迎留言.评论

tomcat:Error parsing HTTP request header

浏览器请求 tomcat 服务器地址,如果链接中带有特殊字符,比如 {},会报错: Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.java.lang.IllegalArgumentException: Invalid character found in the request target. The v

tomcat报错2

Jun 12, 2016 4:19:43 PM org.apache.coyote.http11.AbstractHttp11Processor process INFO: Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level. java.lang.ArrayIndexOutOfBoundsException:

tomcat maxHttpHeaderSize 设置不够大导致 SSO 登录失败

2016-11-06 xxxx org.apache.coyote.http11.Http11Processor - Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level. java.lang.IllegalArgumentException: Request header is too large at org

tomcat server 报错之 More than the maximum allowed number of cookies

More than the maximum allowed number of cookies EVERE: Error processing request java.lang.IllegalArgumentException: More than the maximum allowed number of cookies, [200], were detected. at org.apache.tomcat.util.http.Cookies.addCookie(Cookies.java:1

Tomcat异常及解决办法——持续更新中

公司项目,开发语言为java,中间件为Tomcat,运行过程中,从Tomcat出现了一些异常,现将异常及解决办法记录如下,仅供参考.(不断在补充中.......) 异常一: 1.日志内容 org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be l

Tomcat 7 不能传参json 解决办法

之前项目一直使用tomcat6 但是因为某个原因更换了tomcat 7 发现传递json参数时会出现 Using the protocol="HTTP/1.1" connector (Coyote) After upgrading a site to Tomcat 7.0.73 from 7.0.72 or from anything earlier, a url with an unencoded { or } (ie. http://my.com?filter={"sea