Hmm, that disabling feature not work at my configuration.

I have made a test with current Tomcat head and mod_jk 1.2.10.

===
worker.list=lb,status

worker.node1.port=9012
worker.node1.host=127.0.0.1
worker.node1.type=ajp13
worker.node1.cachesize=200
worker.node1.cache_timeout=60
worker.node1.disabled=false
worker.node1.domain=A

worker.node2.port=9022
worker.node2.host=127.0.0.1
worker.node2.type=ajp13
worker.node2.cachesize=200
worker.node2.cache_timeout=60
worker.node2.disabled=false
worker.node2.domain=A

worker.lb.balance_workers=node1,node2
worker.lb.type=lb

worker.status.type=status
===
Setup to tomcat behind Apache 2.0.53 ( Windows XP)

When I open browser send a request that open a session.
Verify that next request goes to the same tomcat.
disable tomcat/worker from which node request coming.
Request again the same request and see that request goes to the
same worker.

Next test with remove the domain feature,
and also test it with a fresh compile cvs head,
but also it not working.

What is wrong at my mod_jk configuration?

Peter




Mladen Turk schrieb:

Peter Rossbach wrote:

Hello Mladen ,

What I want is, that we can stop request sending from mod_jk side
at a single node. Why we can't stop all requests for a worker, when we
set a flag worker.node1.active=false ? Ok, then no application
on this node get request, but we can control the tomcat restart.


You have woker.node1.disabled=True directive. It will disable the worker in case it's member of load balancer, and no furher requests will took place on it unless referenced by some other worker with 'redirect' and not in error state.

Regards,
Mladen.

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





--
J2EE Systemarchitekt und Tomcat Experte

http://objektpark.de/
http://tomcat.objektpark.org/
http://centaurus.sourceforge.net/

Am Josephsschacht 72, 44879 Bochum, Deutschland
Telefon:  (49) 234 9413228
Mobil:    (49) 175 1660884
E-Mail:  [EMAIL PROTECTED]




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



Reply via email to