You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vidya TR <vi...@hotmail.com> on 2006/03/27 16:53:46 UTC

mod_jk disabled directive - how to change at runtime?

Definition of disabled directive in
http://tomcat.apache.org/connectors-doc/config/workers.html

disabled - If set to True or 1 the worker will be disabled if member of load
balancer. This flag can be changed at runtime using status worker. 

Can I change the disabled property at runtime and will the loadbalancer be
able to read this? I tried by manually changing the
backupNode.disabled=false in worker.properties while apache was running -
but that din't seem to work. 

#worker.properties
worker.loadbalancer.balance_workers=mainNode,backupNode
 
worker.mainNode.redirect=backupNode
worker.backupNode.disabled=true

--
View this message in context: http://www.nabble.com/mod_jk-disabled-directive---how-to-change-at-runtime--t1349688.html#a3610937
Sent from the Tomcat - User forum at Nabble.com.


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


Re: mod_jk disabled directive - how to change at runtime?

Posted by Vidya TR <vi...@hotmail.com>.
Finally figured how to use this:


httpd.conf:
JkMount /jkstatus/* status

worker.properties:

worker.list=loadbalancer,status



worker.status.type=status

URL:

http://localhost/jkstatus/




--
View this message in context: http://www.nabble.com/mod_jk-disabled-directive---how-to-change-at-runtime--t1349688.html#a3691953
Sent from the Tomcat - User forum at Nabble.com.


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