Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 85303 invoked from network); 7 Sep 2010 09:03:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Sep 2010 09:03:24 -0000 Received: (qmail 46255 invoked by uid 500); 7 Sep 2010 09:03:20 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 46214 invoked by uid 500); 7 Sep 2010 09:03:16 -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 46201 invoked by uid 99); 7 Sep 2010 09:03:15 -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 09:03:15 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.167.55] (HELO web113515.mail.gq1.yahoo.com) (98.136.167.55) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Sep 2010 09:03:08 +0000 Received: (qmail 13409 invoked by uid 60001); 7 Sep 2010 09:02:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283850167; bh=z77kbe4X8RG/zudL+4LEmZ7OOpYlrT7VEUdT/sgnTk0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=TjVUPINZhWf1UKop4ZReDLkvB9sPYHz09BNgd44k1QKtDL4YQ/O6FKaE+1mjCX2TctYb+CIa0xdp7aqvB/X34x/G0KxCLQlKsm8mYOXIPTq3og2JJf0w3HFrZomTzJLizoyUW8IpilKD+7nANCO9kZDWGwWVAOUsL04CBOP74rI= 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:MIME-Version:Content-Type; b=ZKQc8+tMuvo/wgRi1c1rmjIn5sV5bpC5WePjZs6gUqOHRuxVjtlt2AiEMii9eavEfL90gTWW9gcFIak9xdgsk0kew1ekzyqrMy/8AENpqG10y8oK6/puhAgrjR5EcOWaWb7jitkYEGBRoCHej8eHC2NyR/kvbOjLPZps/LixjaA=; Message-ID: <220439.13227.qm@web113515.mail.gq1.yahoo.com> X-YMail-OSG: i7KZuuUVM1kwZDcIHafHsrtWs_vpsxG.9a2EKNMwNZWDREx L7zdsoLLA2jZ3EGPa0oZVqqzY0VDsCNGc2gHg0mE6ZJ6s0h3oM4fLyKNyMKn hoO0ZIZq18p6zEkT8Qeygx7ca8cjY00_oMrQ_mmjbx3aabNP.s_Ir99aKMVb Jcnzwx85H2UAH4FcVGM55u8i7RsfliZtxFlw7a1nUfg.tCBaxIyd0mS7yHmO IsWuo1oXNC27LhSRumUxN_Lxbp2MLyTR2IhHOwrrxjfC7mC.GqDiyFVoPk0j J9MYrKpL1lUzgPJs1.08YJvd38tjoJAowg4i1Buv8cWiC7w7ou4PqkgqH76E x3m_M2WeqTRuS0YGTG6dXgzvMRx3OV05zk3Y0 Received: from [122.248.163.1] by web113515.mail.gq1.yahoo.com via HTTP; Tue, 07 Sep 2010 02:02:46 PDT X-Mailer: YahooMailClassic/11.4.7 YahooMailWebService/0.8.105.279950 Date: Tue, 7 Sep 2010 02:02:46 -0700 (PDT) From: Amol Puglia Subject: Unable to acheive load balcing using mod_jk To: users@tomcat.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1533879708-1283850166=:13227" --0-1533879708-1283850166=:13227 Content-Type: text/plain; charset=us-ascii 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. --0-1533879708-1283850166=:13227--