Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 71482 invoked from network); 3 Feb 2004 15:50:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Feb 2004 15:50:08 -0000 Received: (qmail 24658 invoked by uid 500); 3 Feb 2004 15:49:15 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 24635 invoked by uid 500); 3 Feb 2004 15:49:14 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 24583 invoked from network); 3 Feb 2004 15:49:14 -0000 Received: from unknown (HELO MAIL2.qas.com) (195.172.82.234) by daedalus.apache.org with SMTP; 3 Feb 2004 15:49:14 -0000 Received: from orion.qas.com (orion.qas.com [150.150.100.34]) by MAIL2.qas.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Tue, 3 Feb 2004 15:49:02 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3EA6D.3ECBDBE8" Subject: workers2.properties syntax and as Load Balancer?? Date: Tue, 3 Feb 2004 15:49:02 -0000 Message-ID: <5684A7E6FB10504393A2806C1F4C021001EB8D81@orion.qas.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: workers2.properties syntax and as Load Balancer?? Thread-Index: AcPqbT6vBb3p46d5SeGEW8SAkBEmZQ== From: "Allistair Crossley" To: "TOMCAT USER (E-mail)" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3EA6D.3ECBDBE8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The following is my workers2.properties file. [shm:] info=3DShared memory file. Required for multiprocess servers file=3DD:\Tomcat 5.0\work\jk2.shm size=3D1000000 [channel.socket:localhost:8009] info=3DAjp13 worker, connects to tomcat instance using AJP 1.3 protocol tomcatId=3Dlocalhost:8009 [uri:/*.do] info=3DiQ2 context=3D/ [uri:/*.jsp] info=3DiQ2 context=3D/ 1) Where on earth is the JK2 syntax and options that one puts in this worke= rs2.properties ... the JK2 docs on the jakarta site are a) under Tomcat 4.1= and b) use a different dot-notated syntax to this above 2) Am I right in thinking that I can add additional tomcat instances to thi= s file, e.g. [channel.socket:localhost:8010] [channel.socket:localhost:8011] [channel.socket:localhost:8012] And give each a load balance factor?? If so, where can I get hold of the sy= ntax for this? 3) If (2) then is this a fair enough way to handle load balancing? Can I cr= eate different mappings for each? E.g [channel.socket:localhost:8012] [uri:/search.do] info=3DSearch Function context=3D/ 4) If I am to setup a set of Tomcat instances for load balancing, then can = I configure them ALL to be Windows Services ... I tried this before where I= had 5.0.16 as a Windows Service, then installed 5.0.18 as a service and de= spite changing the values it overwrote all my 5.0.16 service settings. I wo= uld like to have multiple Tomcat instances as Windows Services so they come= up after a reboot. I don't want to really have to call all their startup.b= at scripts. Thanks! ADC =20 ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- ------_=_NextPart_001_01C3EA6D.3ECBDBE8--