HttpSession activation and passivation
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jared_Donboch
Posted On:   Wednesday, May 7, 2008 11:07 AM

Tell me if my assumptions are correct or if this is vendor-specific. It is my understanding that there is only ever one instance of a client's HttpSession between all of the JVMs in a clustered environment. If the client request is handled by a different node, the HttpSession will be passivated in the old JVM and activated in the new JVM. Is this a correct assumption?

Thanks,
Jared

Re: HttpSession activation and passivation

Posted By:   Stephen_McConnell  
Posted On:   Wednesday, May 7, 2008 11:16 PM

This is vendor-specific. Many Application Servers handle load balancing, but in different ways.


I remember using this with WebSphere in a clustered environment... and I think you can create a clusterd enviornment with the "session" persisted in a central database with Tomcat (but I'm not sure... I haven't done it.).


Read the documentation in your Application Server on load balancing and how it handles it and is managed.


Stephen McConnell

About | Sitemap | Contact