Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 46696 invoked from network); 26 Feb 2003 08:30:22 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 26 Feb 2003 08:30:21 -0000 Received: (qmail 6055 invoked by uid 97); 26 Feb 2003 08:32:08 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 6048 invoked from network); 26 Feb 2003 08:32:08 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 26 Feb 2003 08:32:08 -0000 Received: (qmail 37113 invoked by uid 500); 26 Feb 2003 08:27:02 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 15244 invoked from network); 26 Feb 2003 00:54:45 -0000 Message-ID: <5697826.1046220379125.JavaMail.SYSTEM@bodisafa> Date: Tue, 25 Feb 2003 17:46:19 -0700 (MST) From: travis@spaceprogram.com To: Tomcat Developers List Subject: RE: RE: socket errors in catalina.out and mod_jk.log Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Feb 2003 00:46:19.0125 (UTC) FILETIME=[79CA1250:01C2DD30] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I just noticed something else too, that these messages occur exactly every 15 minutes: ex: [Tue Feb 25 17:15:30 2003] [jk_ajp_common.c (626)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:15:30 2003] [jk_ajp_common.c (874)]: Error connecting to the Tomcat process. [Tue Feb 25 17:15:30 2003] [jk_ajp_common.c (1190)]: sending request to tomcat failed in send loop. err=1 [Tue Feb 25 17:15:30 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 111 [Tue Feb 25 17:15:30 2003] [jk_ajp_common.c (626)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:15:30 2003] [jk_ajp_common.c (874)]: Error connecting to the Tomcat process. [Tue Feb 25 17:15:30 2003] [jk_ajp_common.c (1190)]: sending request to tomcat failed in send loop. err=2 [Tue Feb 25 17:15:30 2003] [jk_ajp_common.c (1198)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (681)]: ERROR: can't receive the response message from tomcat, network problems or tomcat is down. [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (1050)]: Error reading reply from tomcat. Tomcat is down or network problems. [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (1187)]: ERROR: Receiving from tomcat failed, recoverable operation. err=0 [Tue Feb 25 17:30:26 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 111 [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (626)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (874)]: Error connecting to the Tomcat process. [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (1190)]: sending request to tomcat failed in send loop. err=1 [Tue Feb 25 17:30:26 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 111 [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (626)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (874)]: Error connecting to the Tomcat process. [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (1190)]: sending request to tomcat failed in send loop. err=2 [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (1198)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:30:26 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 111 [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (626)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (874)]: Error connecting to the Tomcat process. [Tue Feb 25 17:30:26 2003] [jk_ajp_common.c (1190)]: sending request to tomcat failed in send loop. err=0 [Tue Feb 25 17:30:26 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 111 [Tue Feb 25 17:30:42 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 111 [Tue Feb 25 17:30:42 2003] [jk_ajp_common.c (626)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:30:42 2003] [jk_ajp_common.c (874)]: Error connecting to the Tomcat process. [Tue Feb 25 17:30:42 2003] [jk_ajp_common.c (1190)]: sending request to tomcat failed in send loop. err=2 [Tue Feb 25 17:30:42 2003] [jk_ajp_common.c (1198)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:45:26 2003] [jk_ajp_common.c (681)]: ERROR: can't receive the response message from tomcat, network problems or tomcat is down. [Tue Feb 25 17:45:26 2003] [jk_ajp_common.c (1050)]: Error reading reply from tomcat. Tomcat is down or network problems. [Tue Feb 25 17:45:26 2003] [jk_ajp_common.c (1187)]: ERROR: Receiving from tomcat failed, recoverable operation. err=0 [Tue Feb 25 17:45:26 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 111 [Tue Feb 25 17:45:26 2003] [jk_ajp_common.c (626)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Tue Feb 25 17:45:26 2003] [jk_ajp_common.c (874)]: Error connecting to the Tomcat process. [Tue Feb 25 17:45:26 2003] [jk_ajp_common.c (1190)]: sending request to tomcat failed in send loop. err=1 Travis ---- Original Message ---- From: travis@spaceprogram.com Sent: 2003-02-25 To: Tomcat Developers List Subject: RE: socket errors in catalina.out and mod_jk.log I am getting the exact same messages as of upgrading from 3.2.3 to 4.1.18 yesterday. Travis ---- Original Message ---- From: =?UTF-8?B?U3ZlbiBLw7ZobGVy?= Sent: 2003-02-25 To: tomcat-dev@jakarta.apache.org Subject: socket errors in catalina.out and mod_jk.log hi, i didn't get any useful response in the tomcat-user-mailinglist. many users have messages in their catalina.out, saying that a socket times out, or a connection had been closed. these messages look like this: 25.02.2003 20:22:48 org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached 25.02.2003 20:22:50 org.apache.jk.common.ChannelSocket processConnection INFO: server has been restarted or reset this connection these messages appear frequently (about every second) the first message occurs more often than the second one. i know now, that the second message appears, if apache closes it socket, and tomcat get a read-error or such. i don't know, why the first message appears. would be nice to know! in addition, i see many errors in mod_jk's error-log, if i set the log-level to "error". WHY (and i have asked myself a thousand times) is this? - why doesn't mod_jk send a quit-command to tomcat, and both sides will gracefully close the connection? - why do the connections timeout? why isn't there something like a keep-alive which is send my mod_jk every now and than? does the AJP13 protocol include keep-alives? does it include something like quit-command? if not (that would be a shame btw) is this included in AJP14? is this a known, but still not fixed, problem? why isn't it fixed? i cannot understand, how you can live with that!? it might be my fault, but nobody seems to know anything about these strange messages! --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org