You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ralph Lange <ra...@abs.de> on 2005/06/23 11:52:52 UTC

Problem running three tomcats and not having a sticky session

Dear Cocoon users,
Our setup: cocon 2.1.5.1, tomcat 5.5.4,  jdk 1.5.0.
In order to manage much more requests, I have installed three tomcats 
connected to one apache via mod_jk's loadbalancer and on each of  the 
tomcats runs a cocoon.
The problem now is, when I build a session via Firefox, exactly one of 
the three cocoons should serve
subsequent requests, because it should be a sticky session.
But instead the three cocoons change in serving the request.
What can I do to have a sticky session?
Yours sincerely, Ralph Lange

Re: Problem running three tomcats and not having a sticky session

Posted by Reinhard Poetz <re...@apache.org>.
Ralph Lange wrote:
> Dear Cocoon users,
> Our setup: cocon 2.1.5.1, tomcat 5.5.4,  jdk 1.5.0.
> In order to manage much more requests, I have installed three tomcats 
> connected to one apache via mod_jk's loadbalancer and on each of  the 
> tomcats runs a cocoon.
> The problem now is, when I build a session via Firefox, exactly one of 
> the three cocoons should serve
> subsequent requests, because it should be a sticky session.
> But instead the three cocoons change in serving the request.
> What can I do to have a sticky session?

http://wiki.apache.org/cocoon/LoadBalancingWithModProxy could be of some value 
for you

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

Re: Problem running three tomcats and not having a sticky session

Posted by Ralph Goers <Ra...@dslextreme.com>.
I believe you asked this question on 6/20.  Did you ask on the Tomcat 
list?  Cocoon does not perform load balancing. The container and the 
http server do.

Ralph

Ralph Lange wrote:

> Dear Cocoon users,
> Our setup: cocon 2.1.5.1, tomcat 5.5.4,  jdk 1.5.0.
> In order to manage much more requests, I have installed three tomcats 
> connected to one apache via mod_jk's loadbalancer and on each of  the 
> tomcats runs a cocoon.
> The problem now is, when I build a session via Firefox, exactly one of 
> the three cocoons should serve
> subsequent requests, because it should be a sticky session.
> But instead the three cocoons change in serving the request.
> What can I do to have a sticky session?
> Yours sincerely, Ralph Lange