geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Genender <>
Subject [LONG]Tomcat clustering enabling GBeans howto - Part 2
Date Mon, 14 Nov 2005 18:44:35 GMT
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" 
you would add the following to your geronimo-web.xml:


This must come after the <tomcat-realm> and before the naming tags.  See 
the geronimo-tomcat-1.0.xsd for more details.

If you are using the generic namespace, then your <cluster> tag will go 
inside the <container-config> tags.

View raw message