Tomcat无法shutdown SEVERE: BAD packet signature

错误日志:

SEVERE: Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:327)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:628)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:585)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:693)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:722)

之前只安装apache2服务器,没有配置PHP环境,tomcat服务器一直正常运行,没有报错。配置完成PHP服务器,搭建了wordpress后,tomcat服务一段时间运行后会出错,客户端无法访问tomcat,手动也无法shutdown,报错连接错误。通过日志文件可以看到可能是tomcat的8009端口的问题。因为apache2会通过ajk通过8009端口将apache2的请求交给tomcat处理。字啊我的服务器暂时没有用到ajk。所以将tomcat的8009端口屏蔽:注释掉

<Connector port=”8009″ protocol=”AJP/1.3″ redirectPort=”8443″ />

即可。

转载请标明:http://yanming8.cn/blogs/archives/88

你可能感兴趣的:(shutdown)