Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

displaying error page when app server is down

 
Kiran Gaddam
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all...

I have a requirement that when the server is down I should display the custom error screen..

Any ideas ..?

Thanks in advance
 
Paul Clapham
Sheriff
Pie
Posts: 20719
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My idea would be to clarify the requirements.

For example, would you be expecting the server which is down to be displaying this error page? Or is it going to be shown when some other server is down?
 
Kiran Gaddam
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Paul,


Thanks for the quick responce.
and Sorry for the bad question. Actually I am new to java.

My requirement is that, when my appserver goes down how should I display custom error screen.. what would be the procedure..
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the server is down, you obviously can't show anything. What most of my clients do when there's a planned outage is to route the requests to another server (usually a static Apache server) that shows a "We'll be back soon" page.

It has nothing at all to do with Java or servlets. Just server administration.
 
Kiran Gaddam
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok..
I will check that with administrator than...

Thanks for your co-operation
 
Kiran Gaddam
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You..
You are correct
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic