File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Displaying maintenance message while app server shutdown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Displaying maintenance message while app server shutdown" Watch "Displaying maintenance message while app server shutdown" New topic
Author

Displaying maintenance message while app server shutdown

Heonkoo Lee
Ranch Hand

Joined: Feb 10, 2005
Posts: 85
Hi Ranchers,

Can you please provide any pointers to how to gracefully display maintenance message in case of shutting down the server, instead of error message displayed to the client? Seems like I need another server in front.

Any help would be much appreciated.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


Seems like I need another server in front

Indeed you do. A typical configuration for a web app might be to have a web server (such as Apache HTTP Server) in front of the servlet container which serves static content. If there is, then you can just serve your "appliction not available" page here.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
wood burning stoves
 
subject: Displaying maintenance message while app server shutdown