My site needs routine maintenance and i do not know how do it in jboss - apache setup. In current procedure that I am using I am installing two .war files in deploy directory of jboss and I delete my application .war file when i have to do maintenance. When I am done with maintenance I delete the temporary .war file. I do not think this procedure is correct. Is there a easy way where I can display "SIte under Maintenance" page when I am doing maintenance and when I am done I should show my application.
My current setup is apache - jboss/Tomcat - mysql.