aspose file tools*
The moose likes BEA/Weblogic and the fly likes In-memory replication of http session is not working in BEA7 cluster Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "In-memory replication of http session is not working in BEA7 cluster" Watch "In-memory replication of http session is not working in BEA7 cluster" New topic
Author

In-memory replication of http session is not working in BEA7 cluster

deepa karkala
Ranch Hand

Joined: Jan 29, 2003
Posts: 62
Hi everyone,
I have 3 managed servers in Bea7.0 SP4 in a cluster. The client requests are sent through apache web server. I have given cluster address as URL in httpd.conf of apache server which sends the client requests for dynamic pages such as JSPs and servlets to the weblogic cluster.
Load balancing is working fine. I ensured this from the log files of all the 3 servers. All the 3 servers are getting different client requests and thus load balancing is working.
Now, I wanted to achieve Fail-over. I do not think that i should use proxy plug-in for this. I feel the cluster itself will handle fail-over provided i make the http session as memory replicated.
I updated the weblogic.xml with the following entry :

<session-descriptor>
<session-param>
....
</session-param>
<session-param>
<param-name>URLRewritingEnabled</param-name>
....
</session-param>
<session-param>
<param-name>TimeoutSecs</param-name>
<param-value> .....</param-value>
</session-param>
<session-param>
<param-name>PersistentStoreType</param-name>
<param-value>replicated</param-value>
</session-param>
</session-descriptor>

I guess this is sufficient to make the http session as cluster aware.

But when I shutdown server1, the user connected to server1 will be kicked out of the session and come to login page through server2 and server3 are running fine.
Could anyone help me to achieve http session as cluster aware. Does it indicate that I have to go for WLS proxy � HttpClusterServlet to achieve fail over for http session ?
thanks in advance.
Rob Misek
Ranch Hand

Joined: Sep 24, 2002
Posts: 41
Hi Jyothip,
Perhaps you may be interested in Coherence*Web which will gaurantee the fault-tolerance and high availability of your http session data by relying on Coherence as the backbone.
Later,
Rob Misek


<a href="http://www.tangosol.com" target="_blank" rel="nofollow">www.tangosol.com</a><br /><a href="http://www.tangosol.com/coherence.jsp" target="_blank" rel="nofollow">Coherence:</a> Easily share live data across a cluster!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: In-memory replication of http session is not working in BEA7 cluster