Thanks for the info,
Did anybody try backing up sessions on other jserv and once that jserv
goes down, the session is sent to another jserv, before creating a new
session, can it reload the session from the backup server.
Tom Oinn wrote:
>
> sudhi wrote:
> >
> > Hello,
> > I have question :-)
> > I am using apache1.3.12 and apacheJserv 1.1 and ApacheJSSI 1.1.2.
> > I am interested in Session Fail over/migration. I looked into all of the
> > document and mailing list. I wasn't able to find anything for failure
> > and migration. The only thing i was able to find was in the document - "
> > How to : Scalability - Load Balancing - Fault tolerance with Apache
> > Jserv 1.1 ". In that document, in the fault tolerance section, it
> > explains how session failure works (when one Jserv fails the request is
> > sent to another Jserv, which creates a new session cookie (which will
> > help to associate this request with this Jserv) and erases the old
> > cookie. What I am really interested is
> > " what happens to the session object ? "
>
> As the session is stored in the memory space of the failed JServ session
> then it is presumably lost if the java VM goes down. I guess it depends
> upon precisely how the jserv instance fails. Anyhow, if the jserv
> vanishes then the session will be gc'd even if it were still in the
> memory of some vm.
>
> > Is there a way to restore them, if so how to achieve this ?
> > Is it possible to achieve session migration (from one jserv to another
> > without loosing data) ?
>
> Not without a lot of work, I'd have thought. Ideally you'd make the
> jserv prescient and then it would know when it was about to fail and
> send its session to another instance. Unfortunately, there are a couple
> of implementation issues with this approach....
>
> Cheers,
>
> Tom
>
> --
> Using new ram-scoop infusion techniques, Undead Boars are twice as
> undead as, say, Windows NT or IRIX. I find Undead Boars to be an
> invaluable asset whether I'm hunting fierce animals or managing a
> massive heterogeneous network.
>
> --
> ----------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
----------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]