Re: Retreiving an Session from an other computer.

sriharirao Bh <[email protected]> Fri, 15 Mar 2002 09:57:48 -0800 (PST)
Newsgroups gmane.comp.java.ejb.general
Message-ID <[email protected]>
Hi,
To support automatic failover for session states,
WLServer 6.1 replicates the session state object in
memory.
This process creates a primary
session state, which resides on the Server to which
the client first connects,and a secondary replica of
the session state on another WebLogic Server instance
in the cluster.The replica is always kept up-to-date
so that it may be used if the server
that hosts the servlet fails. The process of copying a
state from one instance to another
is called in-memory replication.To utilize in-memory
replication for HTTP session states, you must access
the
WebLogic Server cluster using either:
Load balancing hardware, or
A collection of Web servers with WebLogic proxy
plug-ins (configuredidentically).
If you choose to use load balancing hardware instead
of a proxy plug-in, you must use
hardware that supports SSL persistence and passive
cookie persistence. Passive cookie
persistence enables WebLogic Server to write cookies
(containing information about
the location of replicated HTTP session states)
through the load balancer to the client.
The load balancer, in turn, interprets an identifier
in the clientÂ’s cookie to maintain the
relationship between the client and the primary
WebLogic Server hosting the HTTP
session state.
Or you can use File or JDBC based session persistence
on a cluster.This type is slower than In-memory based
replication.
Is it all u require or any thing else that i missed.
Srihari

--- "Roger, Josiane" <[email protected]>
wrote:
> Hello to all,
>  
> I have three servers. One version My Application is
> running on BEA Weblogic
> on each computer.
>  
> I have also a loading dispatcher (Router) that
> dispatches the user to one
> server or the other depending on the load of the
> server.
>  
>  
> 
>  
> USER
>  
> 
>  
> |
>  
> 
>  
> Dispatcher
>  
> 
> |
> |
> |
> 
> Server 1
> Server 2
> Server 3
>  
>  
> Until there everything works fine. 
>  
> The problem is if Server 1 shut down, I would like
> to be able to retrieve
> the session with server 2. 
>  
> I don't want to pass any parameters in the request
> object. 
>  
> Do you know a way that I could do it???
>  
> Thanks a lot for all your help.
>  
> Josiane
>  
>  
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tiny Wireless Camera under $80!
Order Now! FREE VCR Commander!
Click Here - Only 1 Day Left!
http://us.click.yahoo.com/nuyOHD/7.PDAA/yigFAA/5cFolB/TM
---------------------------------------------------------------------~->

EJB-Developer group email addresses:
  Post message: [email protected]
  Subscribe:    [email protected]
  Unsubscribe:  [email protected]
  List owner:   [email protected]

Our other technical discussion groups:
 - For general Java (J2EE) questions/answers: http://groups.yahoo.com/group/Java_Developer
 - For peer-to-peer software development discussion: http://groups.yahoo.com/group/P2P-Developer

Web link to the EJB-Developer group:
  http://groups.yahoo.com/group/EJB-Developer

ATTENTION: You are receiving this message because you actively subscribed to the EJB-Developer technical discussion group on Yahoo! Groups.  All subscriptions come from Yahoo-verified email addresses and are logged; therefore subscriptions can be proved to any appropriate legal authority.  To unsubscribe, send a blank email from the email address receiving group messages to the "Unsubscribe" email address shown above.  If unsubscribing doesn't work, send a message concerning this problem to [email protected].  Only Yahoo! Groups is responsible for their own subscription services; the moderator will not perform these services at any time.

*** EJB-Developer - A free service brought to you by Democracy 2.0 (www.democracy2.org) *** 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/