Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 23623 invoked from network); 16 Nov 2010 14:59:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 14:59:39 -0000 Received: (qmail 68927 invoked by uid 500); 16 Nov 2010 15:00:05 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 68779 invoked by uid 500); 16 Nov 2010 15:00:05 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 68770 invoked by uid 99); 16 Nov 2010 15:00:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 15:00:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.91.230] (HELO nm26-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.230) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 16 Nov 2010 14:59:57 +0000 Received: from [98.139.91.61] by nm26.bullet.mail.sp2.yahoo.com with NNFMP; 16 Nov 2010 14:59:36 -0000 Received: from [98.139.91.51] by tm1.bullet.mail.sp2.yahoo.com with NNFMP; 16 Nov 2010 14:59:36 -0000 Received: from [127.0.0.1] by omp1051.mail.sp2.yahoo.com with NNFMP; 16 Nov 2010 14:59:36 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 320904.40266.bm@omp1051.mail.sp2.yahoo.com Received: (qmail 75638 invoked by uid 60001); 16 Nov 2010 14:59:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289919575; bh=EITczR0rJKA+9vt6EvC1BW1F72s1LNSZeqLLxR77mZ8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=AcBpKityD/0AXvqHNwC+BLZqvQeR9lFcgq4LYiGAHMlUEjD/1kCsP/Ou7CwlNJQ1SyDAVCSXmkJpv04H9xGABSmX9g7XZeW4SxuxZ4g5+f4JI2Q5VUPVImjjBM9tudnUoldGcJ87ERm5oT6T7ckD/CNva6VEMcNAouShDjR3LjA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=U+a4avi/8t7u1kjxfbbHlJpaMDB3KTUmmveEX9hBdzGxlC58emj9F/7b6EbROP3ChGtQ81tvfaBrNy6TIa/9OMg+c/338elXMLb1YzCib2dI/wZvlPxcXVun/Pm0Lwzx1qZ7FPiPDOcORbQKEakGmkUZj8qQVBOjuoYJR2S8UYE=; Message-ID: <883606.68078.qm@web113519.mail.gq1.yahoo.com> X-YMail-OSG: Us6sb0sVM1lXUwbDidk94bBS.CzqzG68b0h8t.WEikDhoGx 7uNpLRrp2 Received: from [115.242.213.248] by web113519.mail.gq1.yahoo.com via HTTP; Tue, 16 Nov 2010 06:59:35 PST X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.285259 Date: Tue, 16 Nov 2010 06:59:35 -0800 (PST) From: Amol Puglia Subject: Re: Tomcat Going down Frequently To: Tomcat Users List In-Reply-To: <4CE26A3A.1090309@ice-sa.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-221167664-1289919575=:68078" --0-221167664-1289919575=:68078 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello Andre, We are proxying request from apache to tomcat using mod_proxy and mod_proxy= _ajp Following is the load balancer configuration in apache. kindly let me know in case you need further details. # Port 80 =A0=A0 Listen server_name:80 =A0=A0 #Listen 153.88.86.250:80 =A0=A0 =A0=A0=A0=A0=A0 ServerName server_name =A0=A0=A0=A0=A0=A0=20 =A0=A0=A0=A0=A0 Timeout 10800 =A0=A0=A0=A0=A0 ProxyTimeout 10800 =A0=A0=A0=A0=A0 ProxyRequests Off =A0=A0=A0=A0=A0=A0 ProxyPass /eMatrix balancer://cluster stickysession=3DJS= ESSIONID|jsessionid nofailover=3DOn =A0=A0=A0=A0=A0=A0 #ProxyPass /eMatrix balancer://cluster stickysession=3DJ= SESSIONID nofailover=3DOn =A0=A0=A0=A0=A0=A0 ProxyPreserveHost On =A0=A0=A0=A0=A0=A0 ProxyPass /eMatrix ajp://server_name:8009/eMatrix =A0=A0=A0=A0=A0=A0 ProxyPass /eMatrix ajp://server_name:8010/eMatrix =A0=A0=A0=A0=A0 ProxyPass /eMatrix ajp://server_name:8011/eMatrix =A0=A0=A0=A0=A0 ProxyPass /eMatrix ajp://server_name:9009/eMatrix =A0=A0=A0=A0=A0 ProxyPass /eMatrix ajp://server_name:9010/eMatrix =A0=A0=A0=A0=A0 ProxyPass /eMatrix ajp://server_name:9011/eMatrix =A0=A0=A0=A0=A0=A0 ProxyPassReverse /eMatrix ajp://server_name:8009/eMatrix =A0=A0=A0=A0=A0=A0 ProxyPassReverse /eMatrix ajp://server_name:8010/eMatrix =A0=A0=A0=A0=A0=A0 ProxyPassReverse /eMatrix ajp://server_name:8011/eMatrix =A0=A0=A0=A0=A0=A0 ProxyPassReverse /eMatrix ajp://server_name:9009/eMatrix =A0=A0=A0=A0=A0=A0 ProxyPassReverse /eMatrix ajp://server_name:9010/eMatrix =A0=A0=A0=A0=A0=A0 ProxyPassReverse /eMatrix ajp://server_name:9011/eMatrix =A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0 BalancerMember ajp://server_name:8009/eMatrix rout= e=3Dmarsprod_rmiserver_1 loadfactor=3D33 retry=3D60 =A0=A0=A0=A0=A0=A0=A0=A0 BalancerMember ajp://server_name:8010/eMatrix rout= e=3Dmarsprod_rmiserver_2 loadfactor=3D33 retry=3D60 =A0=A0=A0=A0=A0=A0=A0=A0 BalancerMember ajp://server_name:8011/eMatrix rout= e=3Dmarsprod_rmiserver_3 loadfactor=3D33 retry=3D60 =A0=A0=A0=A0=A0=A0=A0=A0 BalancerMember ajp://server_name:9009/eMatrix rout= e=3Dmarsprod_rmiserver_4 loadfactor=3D33 retry=3D60 =A0=A0=A0=A0=A0=A0=A0=A0 BalancerMember ajp://server_name:9010/eMatrix rout= e=3Dmarsprod_rmiserver_5 loadfactor=3D33 retry=3D60 =A0=A0=A0=A0=A0=A0=A0=A0 #load balancing performed based on number of user = requests =A0=A0=A0=A0=A0=A0=A0=A0 #ProxySet lbmethod=3Dbyrequests =A0=A0=A0=A0=A0=A0=A0=A0 # Report server is for Report purpose only so bala= ncing is required now. =A0=A0=A0=A0=A0=A0=A0=A0 BalancerMember ajp://server_name:9011/eMatrix rout= e=3Dmarsprod_rmiserver_6 loadfactor=3D33 retry=3D60 =A0=A0=A0=A0=A0=A0=A0=A0 ProxySet lbmethod=3Dbyrequests =A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0 #Status page for balancer =A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0 SetHandler balancer-manager =A0=A0=A0=A0=A0=A0 Order Deny,Allow =A0=A0=A0=A0=A0=A0 Deny from all =A0=A0=A0=A0=A0=A0 Allow from all =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 ProxyStatus On =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 SetHandler server-status =A0=A0=A0=A0=A0 Order Deny,Allow =A0=A0=A0=A0=A0 Deny from all =A0=A0=A0=A0=A0 Allow from all =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 ErrorLog /opt/web/apache/app/mxora/logs/error.log =A0=A0=A0=A0=A0=20 =A0=A0 # END port 80 --- On Tue, 11/16/10, Andr=E9 Warnier wrote: From: Andr=E9 Warnier Subject: Re: Tomcat Going down Frequently To: "Tomcat Users List" Date: Tuesday, November 16, 2010, 4:55 PM Amol Puglia wrote: > Hello Andre, >=20 > Thanks for the updates. I am not using mod_jk , I am using proxy modules = for redirecting request from apache to tomcat. >=20 Ok, sorry, I confused your post with another one. But anyway, your configuration shows a whole lot of proxy modules, many of = which do not seem to have any relation with proxying calls to Tomcat. Such = as these : >> LoadModule proxy_connect_module modules/mod_proxy_connect.so >> LoadModule proxy_ftp_module modules/mod_proxy_ftp.so >> LoadModule proxy_scgi_module modules/mod_proxy_scgi.so The following /may/ have a relation with the proxying to Tomcat, but which = one are you really using ? >> LoadModule proxy_http_module modules/mod_proxy_http.so >> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so Usually, people use *either* mod_proxy_http *or* mod_proxy_ajp, so which on= e is being used ? Can you provide some information about the apache httpd c= onfiguration that shows what is being proxied and how ? > As you said that there is problem in application code, Is there anything = we can point out where exactly is the problem in the code or configuration? >=20 I thought that Pid already pointed that out. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org =0A=0A=0A --0-221167664-1289919575=:68078--