users@glassfish.java.net

Session replication on Open Source GlassFish Cluster problem. Web session and

From: <forums_at_java.net>
Date: Wed, 31 Oct 2012 02:01:59 -0500 (CDT)

I have set up Open Source Glassfish 3.1.2 zip version Created cluster1
Created 2 instances intance1 and instance2 on cluster1 I set up Apache2.2
added mod_jk and configured to work with cluster on GlassFish. Deployed into
cluster1 clusterjsp session test web application. Set Availabiliti True. Then
checked on http://acer-pc/clusterjsp/ in web browser. Browser successfully
shows me single URL retrieving instance1 and instance 2. The problem is
sessions are not replicated and each instance has it's own session IDs. Also
I repeated this with Statefull EJB with integer counter inside. I call method
getCounter() via Web Service attached to this EJB. And still in browser I get
counter incremented on each instance seperately. Please anybody help me to
make it replicated among cluster.

--
[Message sent by forum member 'bahadyr']
View Post: http://forums.java.net/node/891883





Cluster_-_Ha_JSP_Sample_-_Google_Chrome_2012-10-31_12-21-22.png
(image/png attachment: Cluster_-_Ha_JSP_Sample_-_Google_Chrome_2012-10-31_12-21-22.png)

Cluster_-_Ha_JSP_Sample_-_Google_Chrome_2012-10-31_12-24-45.png
(image/png attachment: Cluster_-_Ha_JSP_Sample_-_Google_Chrome_2012-10-31_12-24-45.png)

Cluster_-_Ha_JSP_Sample_-_Google_Chrome_2012-10-31_12-24-45.png
(image/png attachment: 03-Cluster_-_Ha_JSP_Sample_-_Google_Chrome_2012-10-31_12-24-45.png)