I don't think the question is whether you can migrate a session from one
worker to another, the question should be do you really want to.

Sessions by their very nature are not transaction managed. So, even if your
server supports session migration you never really know what state your
session is in. For persistency and transaction management you should use a
database. That's what they are designed for.

There are servers, like weblogic, that support session migration. If you
decide to use this feature you will incur a great deal of extra overhead and
your performance will suffer.

Justy

----- Original Message -----
From: "Merrill George" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 24, 2001 10:19 PM
Subject: Re: Tomcat Worker properties


> In that case is it possible to migrate the session from one worker to
> another in case one fails (i.e for tomcat)? Will it involve additional
> coding ? Or should I go for another app server instead of Apache/Tomcat?
> Since if one of the worker fails and the client was receiving response
> from that server, the session values are lost.
>
>
>
>
> horwat <[EMAIL PROTECTED]>
> Sent by: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
> 09/24/01 11:33 PM
> Please respond to A mailing list about Java Server Pages specification and
> reference
>
>
>         To:     [EMAIL PROTECTED]
>         cc:
>         Subject:        Re: Tomcat Worker properties
>
>
> The "lbfactor" is the worker's load balancing factor. It performs weighted
> round-robin load balancing. The higher the factor, the more requests the
> machine is able to handle.
>
> There is no maximum since it is a multiplication factor. For instance if
> you
> have a value of 1 on one machine and a value of 2 on another. The machine
> with the value of 2 will handle 2x the requests of the other machine. If
> the
> value is 100, the the machine will handle 100x the requests.
>
> Justy
>
> ----- Original Message -----
> From: "Merrill George" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 24, 2001 12:11 AM
> Subject: Tomcat Worker properties
>
>
> > Dear All,
> >         What does the lbfactor in the example below signify and what are
> > the range of values possible for this value?
> >         worker.ajp13.lbfactor=1
> > regards
> > Merrill
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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