Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 96501 invoked from network); 22 Feb 2006 08:29:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 08:29:36 -0000 Received: (qmail 92077 invoked by uid 500); 22 Feb 2006 08:29:23 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 91735 invoked by uid 500); 22 Feb 2006 08:29:21 -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 91722 invoked by uid 99); 22 Feb 2006 08:29:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 00:29:21 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of farid.izem@gmail.com designates 64.233.184.206 as permitted sender) Received: from [64.233.184.206] (HELO wproxy.gmail.com) (64.233.184.206) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 00:29:20 -0800 Received: by wproxy.gmail.com with SMTP id i30so1032914wra for ; Wed, 22 Feb 2006 00:29:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=qUpJpsOMW3b7wjVmmMxxTxmJvXaOXf92CKXkAeqZbMV6slQBF6yUOGIa8BqIMcnZA0NwRWvIip3uXVOGox5mm+0IN1omGRQgEabToizgOpdtkco6un138jG5H8Ctrf7xiK3bX9DbdwIBTO/TmJuwdDF3yoI/4fhMSRWSNCBPGeg= Received: by 10.64.241.8 with SMTP id o8mr1966875qbh; Wed, 22 Feb 2006 00:28:59 -0800 (PST) Received: by 10.65.206.14 with HTTP; Wed, 22 Feb 2006 00:28:59 -0800 (PST) Message-ID: <8f2acb460602220028k617acd23tbe8ad0820b025240@mail.gmail.com> Date: Wed, 22 Feb 2006 09:28:59 +0100 From: "Farid Izem" To: "Tomcat Users List" Subject: Re: Apache / mod_jk / Multiples instances of Tomcat In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4858_7757803.1140596939157" References: <8f2acb460602150604j60e5bd50v39155e1121e0765d@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_4858_7757803.1140596939157 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi David, Thanks for you help. This was exactly what i hace done. But, the main problem was located on the tomcat servers. As it was not me who install the tomcat servers, we find that All the webapps were corrupt due to a file transfer. Now, all work properly. Many thanks, Farid. On 2/15/06, David Avenante wrote: > > You can see this URL http://www.paulkimbrel.com/?p=3D3 > > my configuration for me with one apache in front on two tomcat (for my > tests) > is : > > after install mod_jk of course ;) > > httpd.conf : > # Load mod_jk module > LoadModule jk_module modules/mod_jk.so > JkWorkersFile /etc/apache2/workers.properties > JkLogFile /var/log/apache2/mod_jk.log > JkLogLevel ERROR > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " > JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories > JkRequestLogFormat "%w %V %T" > JkMount /cluster-1.0-SNAPSHOT/app* loadbalancer > > workers.properties : > > # workers.properties > > ps=3D/ > > # List the workers name > worker.list=3Dloadbalancer > # ---------------- > # First worker > # ---------------- > worker.node01.port=3D8009 > worker.node01.host=3Dagnes > worker.node01.type=3Dajp13 > worker.node01.lbfactor=3D1 > worker.node01.domain=3Dcluster1 > # ---------------- > # Second worker > # ---------------- > worker.node02.port=3D9009 > worker.node02.host=3Dovea-inspiron > worker.node02.type=3Dajp13 > worker.node02.lbfactor=3D1 > worker.node02.domain=3Dcluster1 > # ---------------------- > # Load Balancer worker > # ---------------------- > worker.loadbalancer.type=3Dlb > worker.loadbalancer.sticky_session=3Dtrue > worker.loadbalancer.balanced_workers=3Dnode01,node02 > > as you can see in the list of worker only the loadbalancer worker is > present. > Be carreful in your server.xml to add jvmRoute with same name of worker. > > > > > On 2/15/06, Farid Izem wrote: > > > > Hi all, > > > > I'm currently trying to build a Apache load balancings against multiple= s > > instances of Tomcat. > > > > On my host, i have three instances of Tomcat (ie using CATALINA_BASE > > variable), each listening on differents ports for AJP Connector. > > On the same server, i have an Apache using Mod_jk. > > > > Is it possible to configure load balancing across the three instances o= f > > Tomcat using mod_jk ? > > > > Morever, in the worker.properties, i don't known how to configure > > worker.tomcat_home as it is different for each instance of Tomcat ? > > > > Any help would be appreciate, Any Internet Links .. > > > > Kind Regards, > > > > Farid > > > > > > ------=_Part_4858_7757803.1140596939157--