Skip to main content

Glassfish 2.1 session replication is not working

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
arun_bhasker
Offline
Joined: 2014-04-02

I had installed glassfish 2.1 and configured one cluster with 2 instances form 2 different nodes.

Load balncer plugin is configured and enabled for the clusterjsp application.

As i had no hardwar load balancer, for resolving the the 2 instances in one url , i had added a single DNS entry for two instance ips.

For Example: cascenter.org.in---> will resolve 2 ips like 10.222.3.146 and 10.222.3.147

I am able access with instnace 2 overrided port 8081 like :

http://testcenter.org.in:8081/clusterjsp

Seesion persistance is working, as request is going to another instnce if instance1 is down.

But the session replication , ie the session data is getting lost.

I had enabled the GMS and availablity srvices, with persistance type as replicated,Persistence Scope: as session ,Persistence Frequency as web-method

Could you please help , what is the actual issue that session replication is not happening.