aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Load Balancing - Handling Session between multiple servers. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Load Balancing - Handling Session between multiple servers." Watch "Load Balancing - Handling Session between multiple servers." New topic
Author

Load Balancing - Handling Session between multiple servers.

Abhishek khare
Greenhorn

Joined: Aug 08, 2007
Posts: 25
We have developed an internet based application for our Client and have used Tomcat to test it.

We have supplied the client with the *.war file, and it working fine.

The Client has come back to us saying that the application is supposed to be deploy into 2 servers and then there is another server that load balances between the 2 servers. Since we have used sessions ids in the application it wont work in the multi-server environment.

As per my understanding using Server affinity, the load balancer would always send request from the client to the same server that generated the session id for this client and hence I dont need to do any changes.

I know that there will be flip side to this in case the one of the load balancing server dies, but I am not aware of any other way of handling this problem.

Please provide your view and insight to a possible solution to this problem.

FYI..the client is using BIG-IP as the load balancer.

TIA


"Things come to those who wait, but only the things left by those who hustle."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Load Balancing - Handling Session between multiple servers.