RE: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Allistair Crossley
ailto:[EMAIL PROTECTED] Sent: 18 April 2006 17:10 To: Tomcat Users List Subject: RE: JK Sticky Session Handling with Load Balancing Hi, Thanks for the suggestions, that has led to a solution I think. I used the EAL valve to log inbound and outbound cookies as you suggested. Started both To

RE: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Allistair Crossley
TECTED] Sent: 18 April 2006 16:08 To: Tomcat Users List Subject: Re: JK Sticky Session Handling with Load Balancing domain: you don't need the domain attribute. Domai has the following purpose: Once you start replicating sessions between tomcats and you build up a huge group of tomcat instan

Re: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Rainer Jung
ky_session=1 -Original Message- From: Edgar Alves [mailto:[EMAIL PROTECTED] Sent: 18 April 2006 12:32 To: Tomcat Users List Subject: Re: JK Sticky Session Handling with Load Balancing Hi there, You're setting the sticky_session property for each worker. That's not how it work

RE: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Allistair Crossley
alancer.type=lb worker.loadbalancer.balance_workers=tomcat1,tomcat2 worker.loadbalancer.sticky_session=1 -Original Message- From: Edgar Alves [mailto:[EMAIL PROTECTED] Sent: 18 April 2006 14:36 To: Tomcat Users List Subject: Re: JK Sticky Session Handling with Load Balancing Hi again,

RE: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Tim Lucia
This is almost always "I forgot to set jvmRoute in my server.xml". -Original Message- From: Edgar Alves [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 9:36 AM To: Tomcat Users List Subject: Re: JK Sticky Session Handling with Load Balancing Hi again, When using t

Re: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Edgar Alves
lancer.balance_workers=tomcat1,tomcat2 > worker.loadbalancer.sticky_session=1 > > > -----Original Message- > From: Edgar Alves [mailto:[EMAIL PROTECTED] > Sent: 18 April 2006 12:32 > To: Tomcat Users List > Subject: Re: JK Sticky Session Handling with Load Balancing >

Re: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Reinhard Moosauer
gt; -Original Message----- > From: Edgar Alves [mailto:[EMAIL PROTECTED] > Sent: 18 April 2006 12:32 > To: Tomcat Users List > Subject: Re: JK Sticky Session Handling with Load Balancing > > Hi there, > You're setting the sticky_session property for each worker. Tha

Re: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Rainer Jung
dgar Alves [mailto:[EMAIL PROTECTED] Sent: 18 April 2006 12:32 To: Tomcat Users List Subject: Re: JK Sticky Session Handling with Load Balancing Hi there, You're setting the sticky_session property for each worker. That's not how it works. That property is valid only for the loadbal

RE: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Allistair Crossley
: JK Sticky Session Handling with Load Balancing Hi there, You're setting the sticky_session property for each worker. That's not how it works. That property is valid only for the loadbalancer and it takes a boolean value. Set it to 'True' or '1' to get t

Re: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Edgar Alves
Hi there, You're setting the sticky_session property for each worker. That's not how it works. That property is valid only for the loadbalancer and it takes a boolean value. Set it to 'True' or '1' to get the desired effect. Read http://tomcat.apache.org/connectors-doc/config/workers.html for

JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Allistair Crossley
Hi, I have setup 2 Tomcats on the same machine fronted by IIS, and used a sticky_session=1 JK (1.2.15) load-balanced setup (as printed at the foot of this email) I setup a JSP on both Tomcats that outputs the session ID. With only 1 Tomcat started, making requests to the JSP results in the same