tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <>
Subject Re: AjpNio Invalid message received on header
Date Mon, 06 Aug 2012 22:05:43 GMT
On 06.08.2012 23:39, Yasser wrote:
> I am using Tomcat 7.0.29 fronted with Apache 2.2.22 modproxy.
> Configured Ajp as the protocol in httpd.conf and AjpNioProtocol in
> server.xml.
> After the server starts, the logs are filled with the following message:
> *Severe: Invalid message received with signature 20599
> com.apache.coyote.ajp.AjpMessage processHeader*

It could be anything trying to talk to your AJP port. 20599 should mean, 
that the first two bytes of the package are P (=80) and w (=119), 
because 80*256 + 119 = 20599.

It seem syou need to sniff your AJP port and see, from which system the 
packets come. You could also check

netstat -an

for connections to your AJP port and check whether there are connections 
coming from some unexpected system. Sniffing would be more reliable though.

> There are no requests sent to the web or tomcat server and it still throws
> that error at an interval of 20 seconds. Access logs in tomcat and apache
> show that no request is coming in. What is causing the invalid message
> error ?

If even the first packet doesn't make sense, then there will be no 
access log entry.

> Here is the configuration :
> httpd.conf
> ProxyPass /wl http:// ip : port /wl
> ProxyPassReverse /wl http:// ip : port /wl
> server.xml
> <Connector port="port" protocol="org.apache.coyote.ajp.AjpNioProtocol"
> connectionTimeout="20000" acceptorThreadCount="2" maxThreads="600"
> redirectPort="8443" />



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message