Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 78933 invoked from network); 7 Sep 2010 08:33:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Sep 2010 08:33:03 -0000 Received: (qmail 6936 invoked by uid 500); 7 Sep 2010 08:33:00 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 6737 invoked by uid 500); 7 Sep 2010 08:32:57 -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 6729 invoked by uid 99); 7 Sep 2010 08:32:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Sep 2010 08:32:57 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rainer.jung@kippdata.de designates 195.227.30.149 as permitted sender) Received: from [195.227.30.149] (HELO mailserver.kippdata.de) (195.227.30.149) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Sep 2010 08:32:49 +0000 Received: from [195.227.30.209] (notebook-rj [195.227.30.209]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id o878WRHU013506 for ; Tue, 7 Sep 2010 10:32:27 +0200 (CEST) Message-ID: <4C85F896.1070809@kippdata.de> Date: Tue, 07 Sep 2010 10:32:22 +0200 From: Rainer Jung User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: users@httpd.apache.org References: <803954.32161.qm@web113502.mail.gq1.yahoo.com> In-Reply-To: <803954.32161.qm@web113502.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [users@httpd] Configuring multiple Tomcat application servers with Apache HTTP server/ Load Balancing with Apache Web Server :- Not Working The usual list to discuss mod_jk is the Tomcat users mailing list. To subscribe, send mail to users-subscribe@tomcat.apache.org To jumpstart the discussion there, please also add some information to the below post regarding what does actually not work. Regards, Rainer On 07.09.2010 10:20, Amol Puglia wrote: > Hello Team, > > We have installed one instance of apache and 3 instance of tomcat. > > We have compiled mod_jk module to forward request to 3 instance of tomcat. > > We have configured workers.properties and it is loaded in httpd.conf file. > > Below are the details of workers.properties file and httpd.conf file. > > # lists the workers by name > > worker.list=tomcat1, tomcat2, tomcat3, loadbalancer > > # Tomcat1 configuration > > worker.tomcat1.port=8009 > > worker.tomcat1.host=server_name > > worker.tomcat1.type=ajp13 > > worker.tomcat1.lbfactor=100 > > # Tomcat2 configuration > > worker.tomcat2.port=8010 > > worker.tomcat2.host=server_name > > worker.tomcat2.type=ajp13 > > worker.tomcat2.lbfactor=100 > > # Tomcat3 configuration > > worker.tomcat3.port=8011 > > worker.tomcat3.host=server_name > > worker.tomcat3.type=ajp13 > > worker.tomcat3.lbfactor=100 > > > #Load Balance worker configuration > > worker.loadbalancer.type=lb > > worker.loadbalancer.balanced_workers=tomcat1,tomcat2,tomcat3 > > > Httpd.conf file details :- > > LoadModule jk_module modules/mod_jk.so > > JkWorkersFile conf/workers.properties > > JkLogFile logs/mod_jk.log > > JkLogLevel info > > JkMount /* loadbalancer > > > Apache Version details :- 2.0.59 > > Tomcat Version details :- apache-tomcat-6.0.20 > > Mod_jk version details :- mod_jk-1.2.24 > > We have also noticed that jk module is loading properly in apache. > > [Tue Sep 07 09:43:29 2010] [notice] Apache/2.0.59 (Unix) mod_jk/1.2.24 > DAV/2 mod_ssl/2.0.59 OpenSSL/0.9.7d configured -- resuming normal operations > > > kindly help me to acheive loadbalancing from apache to tomcat. > > > Thanks, > > Amol Puglia --------------------------------------------------------------------- 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