This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Failover page in Sun One Web server 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 » Other Java Products and Servers
Bookmark "Failover page in Sun One Web server" Watch "Failover page in Sun One Web server" New topic
Author

Failover page in Sun One Web server

Ankit Gandhi
Greenhorn

Joined: Nov 03, 2006
Posts: 27
Hi,

Can some one please guide me so that I can set up a failover page for my application which is hosted on Sun One Web Server. It is linked with one of the virtual servers.

Most of the time, if something goes wrong, we get one of the following HTTP response codes :
401 Unauthorized.
403 Forbidden.
404 Not Found.
500 Server Error.

I tried capturing the file not found error code - 404 by making changes in obj.conf, but it didnt work.
The code snippet that i used is as follows:
Error fn="send-error" code="404" path="/xyz/abc/test.html"

Let me know if there is something wrong here, or some other approach is required.

Thanks,
Ankit
 
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: Failover page in Sun One Web server
 
It's not a secret anymore!