On Dec 29, 2013, at 10:11 AM, Nir A <n...@netomedia.com> wrote:

> Hi,
> So we have 3 tomcats in our cluster and we are failing to make them
> replicate our sessions still.
> 
> Our IT guy said it might has something to do with the machines of the
> tomcats.
> 
> He said that since the machines the tomcats in the cluster are installed at
> are Virtual machines there might be a problem on the multicast of the
> replication messages.
> 
> 1) Is it possible that our IT guy is right? (We love you Leon)

By default, clustering support uses multicast to locate other Tomcat instances. 
 If multicast does not work or is disabled on your instances won't be able to 
locate each other.

Multicast is only used for locating other nodes, it is not used for the 
transmission of session data.  TCP is used for that.

> 2) Is there any alternative to multicast the session data between the
> tomcats?

Yes.  See static members configuration.

  
http://tomcat.apache.org/tomcat-7.0-doc/config/cluster-interceptor.html#Static_Membership
  
http://tomcat.apache.org/tomcat-7.0-doc/config/cluster-interceptor.html#Nested_element_StaticMember_Attributes

Dan

> 
> 
> Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to