Two Laptop Bag*
The moose likes Tomcat and the fly likes Show proper page when application is down Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Show proper page when application is down" Watch "Show proper page when application is down" New topic
Author

Show proper page when application is down

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 506
We are using Apache Webserver and Apache Tomcat for our application. Now every time app goes down for upgrade, we take down the server, and if someone hits the public URL at that time, we want to show customized page that app is down and we are working on it. How can I do that?

Thank you
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41112
    
  45
You could use an Apache ErrorDocument directive for the appropriate error code (probably 503).


Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: Show proper page when application is down
 
Similar Threads
custom 404 and 500 error pages in was 6.0
Site Down Page
Server startup in 893899 ms - how can this go faster?
Regarding J2ee application..
Help Needed: Stopping JBoss when the databse server is down