tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <>
Subject Re: How can I take a webapp "temporarily out of service" using mod_jk?
Date Tue, 24 Jan 2006 07:17:19 GMT
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

Inside add

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

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.


> Does anyone know a way to do this?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message