File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes server crashes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "server crashes" Watch "server crashes" New topic

server crashes

Shivaprakash Shettihalli

Joined: Nov 20, 2007
Posts: 18
We have an application deployed at two servers, server1 and server2. While server1 is handling the request it crashes. How the request will be redirected to server1 without loosing any data from the server1.
Shivaprakash Shettihalli

Joined: Nov 20, 2007
Posts: 18
Please someone help me
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

You want to ensure that the request originally sent to server 1 doesn't fail, and instead gets managed by server 2? Typically you would allow that request to fail and send a response to the client and then manage things so that no more requests get sent to server 1.

Otherwise you can try something like JMS or JINI, or you may be able to find a container that has this built in, or even a hardware load balancer.
I agree. Here's the link:
subject: server crashes
It's not a secret anymore!