aspose 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying maintenance message while app server shutdown
 
Similar Threads
Can any one Guide Me .. Struts - iPlanet
broadcast a message to all logged in users
RSA BSafe Crypto-J equivalent library
code or server problem ?
broadcast a message to all logged in users