TOMCAT 启动报错 INVALID CHARACTER FOUND IN METHOD NAME. HTTP METHOD NAMES MUST BE TOKENS

2021-04-17 20:26

阅读:521

标签:val   adp   ups   att   keepalive   prot   启动报错   name   png   

Tomcat报错如下:

技术图片

 

 

解决方案:

问题出现原因是Tomcat的header缓冲区大小不够,需要conf目录下的server.xml中增加maxHttpHeaderSize字段即可:

  executor="tomcatThreadPool"     

   protocol="HTTP/1.1"     

  maxThreads="1000"     

  maxHttpHeaderSize="8192"     

  minSpareThreads="100"     

  maxSpareThreads="200"     

  acceptCount="1000"     

  maxConnections="1000"     

  connectionTimeout="30000"     

  keepAliveTimeout="15000"     

  maxKeepAliveRequests="1"      

   tcpNoDelay="true"     

  redirectPort="8443"     

  enableLookups="false"     

URIEncoding="UTF-8"/>

TOMCAT 启动报错 INVALID CHARACTER FOUND IN METHOD NAME. HTTP METHOD NAMES MUST BE TOKENS

标签:val   adp   ups   att   keepalive   prot   启动报错   name   png   

原文地址:https://www.cnblogs.com/fujingtao5470/p/12290326.html


评论


亲,登录后才可以留言!