Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 46715 invoked from network); 14 Nov 2005 18:44:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Nov 2005 18:44:56 -0000 Received: (qmail 85421 invoked by uid 500); 14 Nov 2005 18:44:53 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 85370 invoked by uid 500); 14 Nov 2005 18:44:53 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 85355 invoked by uid 99); 14 Nov 2005 18:44:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2005 10:44:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jgenender@savoirtech.com designates 209.181.65.237 as permitted sender) Received: from [209.181.65.237] (HELO sun.savoirtech.com) (209.181.65.237) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 14 Nov 2005 10:44:44 -0800 Received: from [206.197.197.15] ([206.197.197.15]) by sun.savoirtech.com (8.13.4/8.13.4) with ESMTP id jAEIiVGR016584 for ; Mon, 14 Nov 2005 11:44:31 -0700 Message-ID: <4378DB13.2000602@savoirtech.com> Date: Mon, 14 Nov 2005 11:44:35 -0700 From: Jeff Genender User-Agent: Thunderbird 1.5 (Macintosh/20051025) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: [LONG]Tomcat clustering enabling GBeans howto - Part 2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on sun.savoirtech.com X-Virus-Scanned: ClamAV 0.87.1/1169/Fri Nov 11 14:28:05 2005 on sun.savoirtech.com X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-105.4 required=5.6 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=failed version=3.0.4 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Part 1 showed a simple clustering for the Engine. This is doable at the host level as well by *not* setting the CatalinaCluster attribute for the Engine, but setting it for the Host. Now what about the Context? This is where the geronimo-web.xml comes in... You will create your TomcatCluster Gbean in the geronimo-web.xml file. In the Tomcat namespace, there is a new parameter called "cluster"...so you would add the following to your geronimo-web.xml: ... TomcatCluster ... This must come after the and before the naming tags. See the geronimo-tomcat-1.0.xsd for more details. If you are using the generic namespace, then your tag will go inside the tags.