Invalid character found in method name. HTTP method names must be tokens
来源:互联网 发布:linux yum 安装 jdk 编辑:程序博客网 时间:2024/05/16 18:22
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.八月 15, 2017 10:21:08 上午 org.apache.coyote.AbstractProtocol start信息: Starting ProtocolHandler ["http-nio-8080"]八月 15, 2017 10:21:08 上午 org.apache.coyote.AbstractProtocol start信息: Starting ProtocolHandler ["ajp-nio-8009"]八月 15, 2017 10:21:08 上午 org.apache.catalina.startup.Catalina start信息: Server startup in 24549 ms八月 15, 2017 10:21:44 上午 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.java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens at org.apache.coyote.http11.AbstractNioInputBuffer.parseRequestLine(AbstractNioInputBuffer.java:232) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1013) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:687) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)
只需要在server.xml中增加maxHttpHeaderSize字段即可:
<Connector URIEncoding="UTF-8" port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" useBodyEncodingForURI="false" enableLookups="false" connectionTimeout="20000" redirectPort="8443" maxHttpHeaderSize="你想要的大小"/>
<Connector port="8080" 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"/>
阅读全文
0 0
- 关于Invalid character found in method name. HTTP method names must be tokens
- 关于Invalid character found in method name. HTTP method names must be tokens的问题
- Invalid character found in method name. HTTP method names must be tokens
- Invalid character found in method name. HTTP method names must be tokens
- 关于Invalid character found in method name. HTTP method names must be tokens
- Invalid character found in method name. HTTP method names must be tokens
- java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must b
- java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must b
- HTTP method names must be tokens
- tomcat服务器报 java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method n
- java.lang.IllegalArgumentException: Invalid character found in method name
- java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name
- 解决java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name
- java.lang.IllegalArgumentException: At least one handler method must be found in class [class SayThr
- tomcat配置SSL报错解决:java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method nam
- thrift+python 报错Invalid method name
- Invalid number of points in LineString (found 1 - must be 0 or >= 2)
- Python Special Method Names
- AngularJs学习之路(四)
- poj2559 Largest Rectangle in a Histogram
- KMP总结
- HTML-ajax与数据库
- 169. Majority Element
- Invalid character found in method name. HTTP method names must be tokens
- tensorflow (win10 & cuda &anaconda )安装
- Visio 画流程图 入门
- 编写Qt多窗口程序
- java环境变量配置
- Linux环境变量配置
- python用迭代器的方式实现斐波那契数列
- HDU_2846 Repository 【字典树】
- ie8兼容video.js处理方案