Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 78008 invoked from network); 2 Oct 2006 21:06:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 21:06:03 -0000 Received: (qmail 38132 invoked by uid 500); 2 Oct 2006 21:05:52 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 38115 invoked by uid 500); 2 Oct 2006 21:05:52 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 38104 invoked by uid 99); 2 Oct 2006 21:05:52 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 14:05:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [198.160.111.226] ([198.160.111.226:19264] helo=mx2out.acxiom.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 62/38-24395-C2F71254 for ; Mon, 02 Oct 2006 14:05:50 -0700 Received: from unknown (HELO ACXMSXFE02.Corp.Acxiom.net) ([10.85.225.22]) by mx2out.acxiom.com with ESMTP; 02 Oct 2006 16:05:19 -0500 X-IronPort-AV: i="4.09,245,1157346000"; d="scan'208"; a="160912009:sNHT61069449" Received: from CWYMSX03.Corp.Acxiom.net ([10.85.225.33]) by ACXMSXFE02.Corp.Acxiom.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 2 Oct 2006 16:05:42 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 2 Oct 2006 16:05:41 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] RE: Apache/Tomcat request hangs intermittently Thread-Index: AcbmX1g90b04+R5jSaip7/zkljRfGgABmQzA From: "Durbha Murali - mdurbh" To: X-OriginalArrivalTime: 02 Oct 2006 21:05:42.0529 (UTC) FILETIME=[855F0F10:01C6E666] Subject: RE: [users@httpd] RE: Apache/Tomcat request hangs intermittently X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The only JKMount that is relevant for our application right now is - JkMount /bankers/* ProspectService We are using Apache just as a pass-thru to the ProspectService. We are not running any servlets or JSPs. I think the rest of the JKMount lines can be ignored. Sorry about the confusion. Thanks Murali =20 -----Original Message----- From: Serge Dubrouski [mailto:sergeyfd@gmail.com]=20 Sent: Monday, October 02, 2006 3:14 PM To: users@httpd.apache.org Subject: Re: [users@httpd] RE: Apache/Tomcat request hangs intermittently On 10/2/06, Durbha Murali - mdurbh wrote: > JKMount options from the ./apache/httpd.conf file - > > # > # Root context mounts for Tomcat > # > JkMount /*.jsp ajp12 > JkMount /servlet/* ajp12 You do not have ajp12 connector configured in your workers.properties. So why do you have it here? What is supposed to process your jsp and servlets? > JkMount /* ProspectService > JkMount /bankers/* ProspectService > > > Regarding Firewall, I'm not sure. I will check with my team. Can you > please tell me what impact this command will have? > > Also, do you think that worker.ProspectService.socket_keepalive=3DTrue > will have any impact? > > Thanks > > -----Original Message----- > From: Serge Dubrouski [mailto:sergeyfd@gmail.com] > Sent: Monday, October 02, 2006 2:57 PM > To: users@httpd.apache.org > Subject: Re: [users@httpd] RE: Apache/Tomcat request hangs > intermittently > > Sorry, I forgot to ask you for your JkMount options. > > Also what kind of firewall do you use? IPTables? If yes please check > that you have something like this in your rules: > > -A YOUR_CHAIN -m state --state RELATED,ESTABLISHED -j ACCEPT > > On 10/2/06, Durbha Murali - mdurbh wrote: > > Serge, Thanks for responding. Connectors and workers.properties given > > below. Please note that there is a firewall between server running > > Apache and the server running Tomcat. All the required ports are > > open...since the connection does go thru 3 out of 5 times. I found > some > > documentation about adding socket_keepalive=3DTrue, and have added = it. > > I'm still testing and don't know if that helped or not. > > > > I'd appreciate any thoughts or ideas. > > Thanks > > Murali > > > > > > > > -------------------------------------------------------------- > > worker.properties > > > > # > > #------ DEFAULT ajp13 WORKER DEFINITION ------------------------------ > > #--------------------------------------------------------------------- > > # > > > > # > > # Defining a worker named ajp13 and of type ajp13 > > # Note that the name and the type do not have to match. > > # > > worker.ajp13.port=3D8009 > > worker.ajp13.host=3Dlocalhost > > worker.ajp13.type=3Dajp13 > > # > > # Specifies the load balance factor when used with > > # a load balancing worker. > > # Note: > > # ----> lbfactor must be > 0 > > # ----> Low lbfactor means less work done by the worker. > > worker.ajp13.lbfactor=3D1 > > > > # > > # Specify the size of the open connection cache. > > #worker.ajp13.cachesize > > > > # application specific > > worker.ProspectService.type=3Dajp13 > > worker.ProspectService.port=3D8009 > > worker.ProspectService.host=3Dxxx > > worker.ProspectService.cachesize=3D5 > > # mdurbh, to fix problem with intermittent connection failure > > worker.ProspectService.socket_keepalive=3DTrue > > > > > > > > > > > > > className=3D"org.apache.tomcat.service.PoolTcpConnector"> > > > > > value=3D"org.apache.tomcat.service.http.HttpConnectionHandler"/> > > > value=3D"8080"/> > > > > > > > > > > > > > > > className=3D"org.apache.tomcat.service.PoolTcpConnector"> > > > > > = value=3D"org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/> > > > > > className=3D"org.apache.tomcat.service.PoolTcpConnector"> > > > > > = value=3D"org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/> > > > > > > > > > > > className=3D"org.apache.tomcat.service.PoolTcpConnector"> > > > > > = value=3D"org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/> > > > > > > > > -----Original Message----- > > From: Serge Dubrouski [mailto:sergeyfd@gmail.com] > > Sent: Monday, October 02, 2006 12:44 PM > > To: users@httpd.apache.org > > Subject: Re: [users@httpd] RE: Apache/Tomcat request hangs > > intermittently > > > > Can you post "connectors" part of your Tomcat's server.xml and your > > workers.properties? > > > > On 10/2/06, Durbha Murali - mdurbh wrote: > > > > > > > > > > > > > > > Can anyone help me out with this please? I'm just completely stuck. > > > > > > Thanks > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > > From: Durbha Murali - mdurbh > > > Sent: Friday, September 29, 2006 4:06 PM > > > To: 'users@httpd.apache.org' > > > Subject: RE: Apache/Tomcat request hangs intermittently > > > > > > > > > > > > > > > > > > Just to add to this, I'm also getting the following error in tomcat > > > connector's mod_jk.log > > > > > > > > > > > > [Fri Sep 29 14:37:26 2006] [1605:50880] [error] > > > ajp_get_reply::jk_ajp_common.c (1531): Tomcat is down or refused > > connection. > > > No response has been sent to the client (yet) > > > > > > [Fri Sep 29 15:12:42 2006] [1610:50880] [error] > > > ajp_connection_tcp_get_message::jk_ajp_common.c (961): > > > Can't receive the response message from tomcat, network problems or > > tomcat > > > is down (139.x.x.x:8009), err=3D-110 > > > > > > [Fri Sep 29 15:12:42 2006] [1610:50880] [error] > > > ajp_get_reply::jk_ajp_common.c (1531): Tomcat is down or refused > > connection. > > > No response has been sent to the client (yet) > > > > > > ________________________________ > > > > > > > > > From: Durbha Murali - mdurbh > > > Sent: Friday, September 29, 2006 2:44 PM > > > To: 'users@httpd.apache.org' > > > Subject: Apache/Tomcat request hangs intermittently > > > > > > > > > > > > We have a webserver with Apache 2.2.2 running that acts as a > > pass-thru, > > > forwarding all POST requests from the internet to Tomcat. > > > > > > The connection works but sometimes, a request on the webserver just > > hangs. > > > If I re-try a few times, the webpage eventually opens. I'm not > quite > > sure > > > what is causing this. If I bounce Apache, it works normally for a > few > > hours > > > and the problem starts again. For Debug Loglevel, I get the > > following > > > errors in error_log. I'm not quite sure if this has anything to do > > with my > > > problem - > > > > > > > > > > > > [Fri Sep 29 11:07:46 2006] [info] [client 10.x.x.x] (32)Broken pipe: > > > core_output_filter: writing data to the network > > > > > > [Fri Sep 29 11:07:51 2006] [info] [client 10.x.x.x] (104)Connection > > reset by > > > peer: core_output_filter: writing data to the network > > > > > > [Fri Sep 29 11:07:51 2006] [info] [client 10.x.x.x] (32)Broken pipe: > > > core_output_filter: writing data to the network > > > > > > [Fri Sep 29 11:08:10 2006] [info] [client 10.x.x.x] (104)Connection > > reset by > > > peer: core_output_filter: writing data to the network > > > > > > [Fri Sep 29 11:08:10 2006] [info] [client 10.x.x.x] (32)Broken pipe: > > > core_output_filter: writing data to the network > > > > > > [Fri Sep 29 11:08:25 2006] [info] [client 10.x.x.x] (104)Connection > > reset by > > > peer: core_output_filter: writing data to the network > > > > > > [Fri Sep 29 11:08:25 2006] [info] [client 10.x.x.x] (32)Broken pipe: > > > core_output_filter: writing data to the network > > > > > > [Fri Sep 29 11:09:18 2006] [info] [client 10.x.x.x] (104)Connection > > reset by > > > peer: core_output_filter: writing data to the network > > > > > > [Fri Sep 29 11:09:18 2006] [info] [client 10.x.x.x] (32)Broken pipe: > > > core_output_filter: writing data to the network > > > > > > > > > > > > > > > > > > When I do a netstat -a on the webserver, I see that the connection > has > > been > > > established, but my browser just keeps spinning and spinning. > > > > > > > > > > > > tcp 0 0 *:8000 *:* > > > LISTEN > > > > > > tcp 0 0 :8000 ::ffff::1757 > > ESTABLISHED > > > > > > > > > > > > This is our Production website. Can someone please help me out? > > > > > > > > > > > > Thanks very much. > > > > > > Murali > > > > > > > > > > > > ************************************************************************ > > * > > > The information contained in this communication is confidential, is > > > intended only for the use of the recipient named above, and may be > > > legally privileged. > > > > > > If the reader of this message is not the intended recipient, you are > > > hereby notified that any dissemination, distribution or copying of > > this > > > communication is strictly prohibited. > > > > > > If you have received this communication in error, please resend this > > > communication to the sender and delete the original message or any > > copy > > > of it from your computer system. > > > > > > Thank you. > > > > > > ************************************************************************ > > * > > > > > > > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP Server > > Project. > > See for more info. > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP Server > Project. > > See for more info. > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org