Right, the correct syntax is to replace 'balancer' with the worker name.
In my 5.5.12 configuration I use 3 workers, 1, 2 and 3 and a balancer
worker, 0.
#
worker.worker0.balance_workers=worker1,worker2,worker3
worker.worker0.sticky_session=true  #may be default

In conf/server.xml I have different AJP 1.3 Connector entries, one
for each worker (1, 2, 3) port.
#
<Connector port="8009"
  enableLookups="false" redirectPort="8443" protocol="AJP/1.3">
...

In httpd.conf, I map all (most) context paths to worker0.
#
/context1/* worker0
/context2/* worker0

My advice is to keep things as simple as possible.

HTH,

Long
www.edgesoft.ca


----- Original Message ----- 
From: "Mladen Turk" <[EMAIL PROTECTED]>

> Vahid Hedayati wrote:
> > Nah no good
> > 
> > I added in 3 lines after trying the first one and none of it does anything
> > different as in it still keeps changing session ID's :(
> > 
> > worker.balancer.sticky_session=true
> 
> This is by default.
> 
> > worker.worker1.balancer.sticky_session=true
> > worker.worker2.balancer.sticky_session=true
> >
> 
> ???
> worker.worker-name.directive=value
> 
> Anyhow, seems you have two workers named
> worker1 and worker2.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to