tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From János Löbb <janos.l...@yale.edu>
Subject Re: Hello and Tomcat issues with sticky sessions
Date Wed, 30 Jun 2010 14:18:32 GMT
> workers.properties
> -------------------
> ps=/
> 
> worker.list=pub-app01, pub-app02, pub-app03, pub-app04, pub-app05, pub-lb
> 
> worker.pub-app01.type=ajp13
> worker.pub-app01.host=app01
> worker.pub-app01.port=8009
> worker.pub-app01.socket_keepalive=1
> 
> worker.pub-app02.type=ajp13
> worker.pub-app02.host=app02
> worker.pub-app02.port=8009
> worker.pub-app02.socket_keepalive=1
> 
> worker.pub-app03.type=ajp13
> worker.pub-app03.host=app03
> worker.pub-app03.port=8009
> worker.pub-app03.socket_keepalive=1
> 
> worker.pub-app04.type=ajp13
> worker.pub-app04.host=app04
> worker.pub-app04.port=8009
> worker.pub-app04.socket_keepalive=1
> 
> worker.pub-app05.type=ajp13
> worker.pub-app05.host=app05
> worker.pub-app05.port=8009
> worker.pub-app05.socket_keepalive=1
> 
> worker.ajp13.lbfactor=1
> 
> worker.pub-lb.type=lb
> worker.pub-lb.balance_workers=pub-app01,pub-app02,pub-app03,pub-app04,pub-app05
> worker.pub-lb.sticky_session=1
> 

- I think this is what worker.list should look like:

worker.list=pub-lb

- You might also need for every balance_worker the 
worker.pub-app0x.redirect=machine_name_where_the_session_from_this_machine_should_be_redirected

- For the load balance worker you might need something like:
worker.pub-lb.sticky_session_force=False
worker.pub-lb.sticky_session=True

I am getting these from my 6.0.18 config, so they might be outdated.

János


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


Mime
View raw message