wood burning stoves
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


Win a copy of Building Microservices this week in the Design forum!
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: 523
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
You could use an Apache ErrorDocument directive for the appropriate error code (probably 503).
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Show proper page when application is down
 
jQuery in Action, 3rd edition