well,

my first question is: do you really need the load balancing?
I know it's a great thing and it's very impressive to say that you need load
balancing (since that would mean you have several million hits per day).
Maybe your servlets do a lot of processing, but in that case I would load
balance the processing (multiple JServ machines, RMI ,....)
It seems you do load balancing on the web server, and it's my idea that this
is only needed for VERY high traffic.

Ok, so you want to keep your load balancing setup (maybe it wasn't your
decision;-)
Take a look at
http://java.apache.org/jserv/howto.load-balancing.html#Session

about sessions and load balancing.

Geert 'Darling' Van Damme

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Yee
> Sent: dinsdag 29 februari 2000 0:14
> To: [EMAIL PROTECTED]
> Subject: JServ (or any other servlet engine) and load balancer
>
>
> Hi,
>     Has anyone here used JServ or any other servlet engine on a machine
> running behind a load balancer?  Our configuration is that we
> have multiple
> machines running Apache and JServ w/ GnuJSP running behind a load
> balancer.
> We have a problem with HttpSessions b/c the sessions are not shared across
> the JServ installations.  If a session is created for a user on server 'A'
> for example, and later, the user's request is directed to server 'B', then
> the user's session is not present and a new session is started.  What we
> would like is that the session remain intact regardless of which server a
> request is directed to.  Is there a configuration of the servlet
> runner that
> will allow this?  Does anyone have any suggestions about this
> configuration?
>
> Thanks,
>
> Richard
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>
>

===========================================================================
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

Reply via email to