You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Jalenak, Jerry" <JJ...@netopia.com> on 2005/07/18 18:43:25 UTC

Session Replication w/ Tomcat 5.0.30

I'm testing a clustered Tomcat (5.0.30) configuration on Windows XP
Professional, behind Apache 2.0.54 with mod_jk as my load balancer.
Load balancing works fine, as I can see sessions being dispatched to
each Tomcat from mod_jk (sticky sessions is disabled.)  The problem I
have is that session replication between the Tomcat instances is
failing.  I've verified that the multicast 'heartbeats' are being sent
(via Ethereal), but I never see any TCP traffic between the instances.
This PC is NOT multi-homed (only have one network card), but I've been
able to do similar setups in Linux (multiple instances on one server)
without any problems.

 

Does anyone have a suggestions on what I can try to do to get sessions
to replicate?

 

Thanks!

 

Jerry Jalenak

Software Engineer

Netopia, Inc.

 


Re: Session Replication w/ Tomcat 5.0.30

Posted by Peter Rossbach <pr...@objektpark.de>.
OK,

a) windows standalone need that mcastBindAddress is set to 127.0.0.1.
b) Please, use for consists sessions handling sticky session at mod:jk, 
backup is only for failover.
c) Used tomcat 5.5.9 with cluster fix pack 
       http://issues.apache.org/bugzilla/show_bug.cgi?id=34389

Peter


Jalenak, Jerry schrieb:

>I'm testing a clustered Tomcat (5.0.30) configuration on Windows XP
>Professional, behind Apache 2.0.54 with mod_jk as my load balancer.
>Load balancing works fine, as I can see sessions being dispatched to
>each Tomcat from mod_jk (sticky sessions is disabled.)  The problem I
>have is that session replication between the Tomcat instances is
>failing.  I've verified that the multicast 'heartbeats' are being sent
>(via Ethereal), but I never see any TCP traffic between the instances.
>This PC is NOT multi-homed (only have one network card), but I've been
>able to do similar setups in Linux (multiple instances on one server)
>without any problems.
>
> 
>
>Does anyone have a suggestions on what I can try to do to get sessions
>to replicate?
>
> 
>
>Thanks!
>
> 
>
>Jerry Jalenak
>
>Software Engineer
>
>Netopia, Inc.
>
> 
>
>
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org