我使用Tomcat 7.0.29作为前端配合Apache 2.2.22 modproxy。在httpd.conf中配置了Ajp协议和在server.xml中配置了AjpNioProtocol。启动服务器后,日志中充斥着以下错误信息:
Severe: Invalid message received with signature 20599
com.apache.coyote.ajp.AjpMessage processHeader
没有请求发送到Web或Tomcat服务器,它仍然会抛出该错误。Tomcat和Apache的访问日志显示没有请求进来。是什么导致了这个无效的消息错误?
以下是配置信息:
httpd.conf
ProxyPass /wl ajp:// ip : port /wl ProxyPassReverse /wl ajp:// ip : port /wl
服务器配置文件:server.xml
<Connector port="port"
protocol="org.apache.coyote.ajp.AjpNioProtocol"
connectionTimeout="20000"
acceptorThreadCount="2"
maxThreads="1600"
redirectPort="8443" />