File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes session replication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "session replication" Watch "session replication" New topic

session replication

ranjan samal

Joined: Apr 10, 2009
Posts: 1
i have some question regarding session replication in a clustered environment..

i am doing a poc on session replication in a clustered environment session replication happens ? a two server cluster server 1 and server2
when server 1 is down all its session is replicated to server 2 which is active..
is the replicated session comes back when the server 1 is active again? there any way we can find out which server currently serves the request for information purpose?

Hareesh Ram Chanchali
Ranch Hand

Joined: Jan 31, 2005
Posts: 110
Hi Samal,

Using in-memory replication, WebLogic Server copies a session state from one server instance to another. The primary server creates a primary session state on the server to which the client first connects, and a secondary replica on another WebLogic Server instance in the cluster. The replica is kept up-to-date so that it may be used if the server that hosts the servlet fails.

(from docs)

ALso the flow chart at the end gives you good idea of Failover with proxy plug-in

Hareesh Ram Chanchali
SCJP 5.0, IBM Certified Solution Designer
I agree. Here's the link:
subject: session replication
It's not a secret anymore!