tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prout John - jprout" <>
Subject How can I take a webapp "temporarily out of service" using mod_jk?
Date Mon, 23 Jan 2006 21:56:47 GMT


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


I need to be able to replace all the URLs in the webapp with a
"Temporarily out of service" page during maintenance, and I need to do
this without making any permanent Apache configuration changes and
without restarting Apache (Operations is very reluctant to restart


Does anyone know a way to do this?


I think there may be a way to use the controls on the mod_jk status page
to redirect all requests for a webapp to a different URL ( the "Route
Redirect" input) but this is probably wishful thinking - even if does
allow me to redirect requests, it would probably apply to all the
webapps in the cluster, which wouldn't meet the requirement. The status
page teases me by listing all the JkMounts and JkUnmounts, but doesn't
allow me to change them; adding a JkUnmount dynamically would be a good


Any Ideas?



The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.

If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank you.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message