geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Colasurdo <davec...@earthlink.net>
Subject Re: Context level clustering not supported in Tomcat it seems
Date Thu, 01 Mar 2007 15:44:27 GMT
I'm still trying to understand what exactly this means to users of 
Geronimo/Tomcat.

IIUC, enabling host/engine clustering basically means that all web 
applications on a particular host/engine that contain the distributable 
tag in their web.xml will replicate session state with other cluster 
members that use the same multicast address and are on the same subnet.

Now for context attribute replication... Does this mean that a user can 
specify unique replication domain per individual web application from a 
common Tomcat/Geronimo installation? Or is it something different?

I'm trying to understand what advantage context attribute replication 
provides.

Thanks
-Dave-


Jeff Genender wrote:
> Shiva,
> 
> Its supported but not the usual way.  It uses a different context.  We
> will need to change some of our code.
> 
> Jeff
> 
> Shiva Kumar H R wrote:
>> Yes Filip, what we mean by Context-level (or application level)
>> clustering is that the clustering configuration is specified in Tomcat's
>> "context.xml" file.
>>
>> So this isn't supported right? I am dropping my idea of checking on
>> Tomcat's mailing list and re-testing.
>>
>> -- 
>> Thx,
>> Shiva
>>
>> On 3/1/07, *Filip Hanik - Dev Lists* <devlists@hanik.com
>> <mailto:devlists@hanik.com>> wrote:
>>
>>     maybe I misunderstood you, you are asking if you can shove the <Cluster>
>>     implementation in a context, the answer to that is no.
>>     6 adds in support of clustering context attributes
>>     Filip
>>
>>     Filip Hanik - Dev Lists wrote:
>>     > http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html
>>     >
>>     > Filip
>>     >
>>     > Shiva Kumar H R wrote:
>>     >> Is it! Is there some document that you are referring to?
>>     >>
>>     >> Meanwhile I will repost the query on Tomcat mailing list as well test
>>     >> context level clustering on Tomcat 6.
>>     >>
>>     >> --
>>     >> Thx,
>>     >> Shiva
>>     >>
>>     >> On 2/28/07, *Filip Hanik - Dev Lists* <devlists@hanik.com
>>     <mailto:devlists@hanik.com>
>>     >> <mailto:devlists@hanik.com <mailto:devlists@hanik.com>>>
wrote:
>>     >>
>>     >>     Context level clustering is supported in TC 6
>>     >>
>>     >>     Shiva Kumar H R wrote:
>>     >>     > As part of
>>     https://issues.apache.org/jira/browse/GERONIMO-2577
>>     <https://issues.apache.org/jira/browse/GERONIMO-2577>
>>     >> I had
>>     >>     > opened the following bug in Tomcat:
>>     >>     > "Context level clustering on 3 or more nodes fails in Tomcat
>>     >> 5.5.20
>>     >>     > http://issues.apache.org/bugzilla/show_bug.cgi?id=41620
>>     >>     <http://issues.apache.org/bugzilla/show_bug.cgi?id=41620>"
>>     >>     >
>>     >>     > They have closed the bug as "Resolved Invalid" with the
>>     following
>>     >>     > comments:
>>     >>     > ------- /Additional Comment #7
>>     >>     > < http://issues.apache.org/bugzilla/show_bug.cgi?id=41620#c7>
>>     >>     From Mark
>>     >>     > Thomas <mailto:markt@apache.org <mailto:markt@apache.org>
>>     <mailto: markt@apache.org <mailto:markt@apache.org>>>
>>     >>     2007-02-15 18:54 / [reply
>>     >>     > <
>>     >>
>>     >>
>>     http://issues.apache.org/bugzilla/show_bug.cgi?id=41620#add_comment
>>     <http://issues.apache.org/bugzilla/show_bug.cgi?id=41620#add_comment>>]
>>     >>     > -------
>>     >>     > It is not possible to configure clustering in context.xml.
It
>>     >>     must be done at
>>     >>     > the Host level (with the jvmRoute defined at the Engine level)
>>     >>     within server.xml
>>     >>     > That makes our default clustering article
>>     >>     >
>>     >>
>>     http://cwiki.apache.org/GMOxDOC11/clustering-sample-application.html
>>     <http://cwiki.apache.org/GMOxDOC11/clustering-sample-application.html>
>>     >>     > invalid. Should we now remove it saying that "Geronimo (Tomcat
>>     >>     > version) supports clustering at the Host/Engine level only"?
>>     >>     >
>>     >>     > Dave Colasurdo and myself have already created a new article
>>     >>     > illustrating how to setup Geronimo (Tomcat version) clustering
>>     >>     at the
>>     >>     > host/engine level:
>>     >>     >
>>     >>
>>     >>
>>     http://cwiki.apache.org/GMOxDOC11/clustering-sample-application-tomcat-host-level.html
>>     >>
>>     >>
>>     >> <
>>     http://cwiki.apache.org/GMOxDOC11/clustering-sample-application-tomcat-host-level.html>.
>>     >>
>>     >>     > Please suggest if we should retain only this and delete the
>>     other
>>     >>     > article on context level clustering?
>>     >>     >
>>     >>     > -- Shiva
>>     >>     >
>>     >>
>>     >>
>>     ------------------------------------------------------------------------
>>     >>
>>     >>     >
>>     >>     > No virus found in this incoming message.
>>     >>     > Checked by AVG Free Edition.
>>     >>     > Version: 7.5.441 / Virus Database: 268.17.37/682 - Release
>>     Date:
>>     >>     2/12/2007 1:23 PM
>>     >>     >
>>     >>
>>     >>
>>     >>
>>     >>
>>     ------------------------------------------------------------------------
>>     >>
>>     >> No virus found in this incoming message.
>>     >> Checked by AVG Free Edition.
>>     >> Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date:
>>     >> 2/27/2007 3:24 PM
>>     >>
>>     >
>>     >
>>     >
>>
>>
>>
> 
> 

Mime
View raw message