Hi,

I am using two tomcat 6.0.13 servers loadblanced by a apache httpd-2.2.4 to host the web application (SOAP service). This application do get about 30k hits per day. Almost all requests are processed successfully except for few which returns 404 errors from the httpd server to client. These 404 errors are not due to incorrect url. I have captured tcp traces and analyzed. As per my analysis I can see tomcat reset the connection and send RST and there after httpd send 404 error back to client. I cannot find any problem in application logs or catalina.log. So I am suspecting this could be a problem related to Tomcat and ajp.

Following is the last 3 lines of the TCP trace where httpd ip 10.255.20.11 and tomcat ip 10.255.20.107. For a successful request/response, usually Tomcat send FIN and close the connection correctly.

1. 10.255.20.11 -> 10.255.20.107 TCP 34071 > 8503 [PSH, ACK] Seq=13141 Ack=4769 Len=663 2. 10.255.20.107 -> 10.255.20.11 TCP 8503 > 34071 [Ack] Seq=4769 Ack=13804 Len=0 3. 10.255.20.107 -> 10.255.20.11 TCP 8503 > 34071 [RST, Ack] Seq=4769 Ack=13804 Len=0

Tomcat server suppose to send a response to the request received in packet 1 (PSH) but before sending it reset the connection.

Following error is also present in the httpd error log relevant for the above problem
[error] ajp_read_header: ajp_ilink_receive failed
[error] (120006)APR does not understand this error code: proxy: read response failed from 10.255.20.107:8503

I searched the tomcat change log but could not find any bug fixes related to this as per my knowledge. So I wonder any one in this forum has ever come across a similar issue and have a reason /resolution for the problem.

Many thanks.

Regards,
Chaminda



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to