tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser <yarafa...@gmail.com>
Subject Re: AjpNio Invalid message received on header
Date Tue, 07 Aug 2012 16:35:36 GMT
Sniffer on the network didn't find anything talking to the ajp port, but
there was traffic within the app server box. I changed the port number and
that got rid of the error. I will have to do some cleanup on the box.

Thanks for your help Rainer.


On Mon, Aug 6, 2012 at 6:05 PM, Rainer Jung <rainer.jung@kippdata.de> wrote:

> 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" />
>>
>
> Regards,
>
> Rainer
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<users-unsubscribe@tomcat.apache.org>
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message