Prout John - jprout wrote:
Hi

I am running a JBoss cluster, using tomcat as the Servlet engine. Apache
and mod_jk provide load-balancing of requests over the machines in the
cluster


Use mod_jk status worker.
This is webapp inside Apache that allows you to manage loadbalancer
members.

Inside workers.properties add
worker.list=....,jkstatus
...
worker.jkstatus.type=status

Add this to httpd.conf:
#JK Balancer manager
<Location /manager/>
    JkMount jkstatus
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
</Location>

Now http://manager/ will give you the mod_jk admin console,
where you can disable, or stop particular nodes for maintenance.

If you need only to remove particular mappings then use
JkMount directive and prefix each mapping with '-'. Within
60 seconds, mod_jk will disable the mappings.

See:
http://tomcat.apache.org/connectors-doc/config/apache.html


Does anyone know a way to do this?


Regards,
Mladen.

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

Reply via email to