Re: Always load balance to same box with different tomcat contexts

2010-03-22 Thread Andrey Ilyin
Hi Mark, Gregor, Thank you for your kind explanations - I think I understand how it works now. This is working exactly as I wanted, as for your concerns: 1) We dont use full clustering (distributable flag is set to false on contexts) - due to heavy sessions in webapp and fixing them is a big hass

Re: Always load balance to same box with different tomcat contexts

2010-03-19 Thread Andrey Ilyin
2smart4u wrote: > > More or less, it drops the context from the Cookie-path, meaning the > cookie is valid for all contexts. > Hi Gregor, Does this mean that session/servletContext is shared between contexts? E.g. if I have some attribute in session/application contexts in webapp1 would it b

Re: Always load balance to same box with different tomcat contexts

2010-03-18 Thread Andrey Ilyin
markt-2 wrote: > > On 18/03/2010 15:22, Andrey Ilyin wrote: >> Is there a way to force apache to always rebalance to same box for >> different >> tomcat contexts? > > You can try setting emptySessionPath="true" on the connector. > > Mark > &

Always load balance to same box with different tomcat contexts

2010-03-18 Thread Andrey Ilyin
Hi, I am having a quite serious problem for which I could not find solution. Tried to ask this question on couple apache forum and was adviced to ask it on tomcat forums. The configuration: Apache: 2.2 serving as load balancer workers.properties worker.list=balancer worker.engine1.port=10001