Tomcat Serious Error, processing connection

SEVERE: Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:310)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache. jk.common.ChannelSocket.receive(ChannelSocket.java:577)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket. java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Through the log error message, it can be determined that it is not program problem. By looking at the relevant information, it can be determined that it is caused by someone accessing the ajp port of the program, so I simulated accessing the ajp port, and the result is really reproduced. So I just annotated the relevant content in the tomcat configuration file service.xml.
 
《!--《Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/》--》

As a result, this error will not appear.

Or change the value of port

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325335988&siteId=291194637