Hi We had similar looking errors to you (including some broken pipe messages in catalina_log) and did a lot of searching for solutions. There are a lot of people posting about this sort of thing and no definitive answers that we could find.
but... We found a suggested solution which I will repeat. We have implemented this (along with other changes) and are in the process of checking whether it has worked. The suggestion was (and I would love someone to confirm this) that Apache is accepting and passing to Tomcat more concurrent requests than Tomcat has threads to deal with them. Apache has a setting in httpd.conf called MaxClients which is 150 by default - but the AJP Connector element in Tomcats server.xml file defines the maxProcessors attribute to be 75 by default. The quickest fix is to up the maxProcessors value to 150. If anyone can confirm that this mismatch could cause communication problems over the mod_jk connector that would be very helpful. I hope that helps, Anthony. > -----Original Message----- > From: Ago Meister [SMTP:[EMAIL PROTECTED]] > Sent: 18 September 2002 18:10 > To: Tomcat Users List > Subject: mod_jk log file errors > > Hello there, > > My mod_jk log file contains many error messages? > We are using Apache 1.3.26 and Tomcat 4.0.4 with AJP13 and RH 6.2. > Does anybody any ideas or has experience with similar problems? > > > errors are: > > [Mon Sep 16 15:38:18 2002] [jk_ajp_common.c (933)]: Error > ajp_process_callback - write failed > [Mon Sep 16 15:38:20 2002] [jk_ajp_common.c (933)]: Error > ajp_process_callback - write failed > [Mon Sep 16 15:43:27 2002] [jk_ajp_common.c (933)]: Error > ajp_process_callback - write failed > [Mon Sep 16 15:44:12 2002] [jk_ajp_common.c (652)]: > ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed > [Mon Sep 16 15:44:12 2002] [jk_ajp_common.c (1013)]: Error reading reply > [Mon Sep 16 15:44:12 2002] [jk_ajp_common.c (1150)]: In > jk_endpoint_t::service, ajp_get_reply failed in send loop 0 > [Mon Sep 16 15:44:12 2002] [jk_ajp_common.c (652)]: > ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed > [Mon Sep 16 15:44:12 2002] [jk_ajp_common.c (1013)]: Error reading reply > [Mon Sep 16 15:44:12 2002] [jk_ajp_common.c (1150)]: In > jk_endpoint_t::service, ajp_get_reply failed in send loop 0 > [Mon Sep 16 15:44:15 2002] [jk_ajp_common.c (652)]: > ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed > [Mon Sep 16 15:44:15 2002] [jk_ajp_common.c (1013)]: Error reading reply > > and > > [Mon Sep 16 15:44:22 2002] [jk_ajp_common.c (1153)]: In > jk_endpoint_t::service, ajp_send_request failed in send loop 2 > [Mon Sep 16 15:44:22 2002] [jk_ajp_common.c (652)]: > ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed > [Mon Sep 16 15:44:22 2002] [jk_ajp_common.c (1013)]: Error reading reply > [Mon Sep 16 15:44:22 2002] [jk_ajp_common.c (1150)]: In > jk_endpoint_t::service, ajp_get_reply failed in send loop 1 > [Mon Sep 16 15:44:22 2002] [jk_connect.c (151)]: jk_open_socket, > connect() > failed errno = 111 > [Mon Sep 16 15:44:22 2002] [jk_ajp_common.c (599)]: In > jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111 > [Mon Sep 16 15:44:22 2002] [jk_ajp_common.c (844)]: Error connecting to > the > Tomcat process. > [Mon Sep 16 15:44:22 2002] [jk_ajp_common.c (1153)]: In > jk_endpoint_t::service, ajp_send_request failed in send loop 2 > [Mon Sep 16 15:44:22 2002] [jk_ajp_common.c (652)]: > ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed > [Mon Sep 16 15:44:22 2002] [jk_ajp_common.c (1013)]: Error reading reply > > kind regards, > Ago Meister > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>