• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
deepa karkala
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic