A solution I have seen work really well is to bind a user session to a
particular web server instead of binding each request to a particular web
server. If you don't have this capability, then I would recommend something
like a singleton session manager running on box that maintains session
information for the entire app.
Whatever your solution, you should take into account your fault tolerance
requirements since it might help lead you to the "better " soln.
--shawn
----- Original Message -----
From: David Eaves <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 17, 2000 2:02 PM
Subject: Mainting sessions across boxes with JRun
> All,
>
> I have two Sun boxes running Jrun sitting behind a load-balanacer.
As
> requests for servlets and JSPs come in they are split between the two Sun
> boxes depeneding on load. This seems to handle our current load just fine.
> However, if I want to use sessions to pass information between JSPs if the
> successive requests are routed through the load-balancer to the other box,
I
> lose my session. How can I maintain a session in JRun across machines and
> JRun instances?
>
> Thanks,
> Dave Eaves
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets