aspose file tools*
The moose likes Servlets and the fly likes Session Tracking in clustered environment 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 » Java » Servlets
Bookmark "Session Tracking in clustered environment" Watch "Session Tracking in clustered environment" New topic
Author

Session Tracking in clustered environment

rajesh godbole
Ranch Hand

Joined: Jan 10, 2003
Posts: 31
Can someone through light on:

1. How session tracking is managed in clustered environment?

2. How singleton objects are managed in clustered environment?

Please suggest good site to read more details on the clustering environment.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

I suggest you to read Clustering document of weblogic server.
http://edocs.bea.com


Groovy
Ronald Heukers
Ranch Hand

Joined: Jul 20, 2005
Posts: 69
Rajesh,

On many loadbalancers you can put the option of session binding on for different ports. That means that a session will always go to the same server where he started. We have enabled this option for our applications and it saves us a lot of troubles with sessions.

regards,

Ronald
rajesh godbole
Ranch Hand

Joined: Jan 10, 2003
Posts: 31
Thanks Pradip.

I have downloaded the pdf file and will read it carefully. Looks fundamental,detailed and useful document.

Quick question: Is it weblogic specific information or is generic info? we might use websphere during the project.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by rajesh godbole:
Thanks Pradip.

I have downloaded the pdf file and will read it carefully. Looks fundamental,detailed and useful document.

Quick question: Is it weblogic specific information or is generic info? we might use websphere during the project.


The doc is specific to weblogic.No harm in reading it.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by Ronald Heukers:
Rajesh,

On many loadbalancers you can put the option of session binding on for different ports. That means that a session will always go to the same server where he started. We have enabled this option for our applications and it saves us a lot of troubles with sessions.

regards,

Ronald


This is called as "sticky load balancing".
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

To implement a singleton in clustered environment bind the object to JNDI tree of one of the server. This has a single point of failure. Any other ideas? :roll:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Tracking in clustered environment