Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

Glassfish 2.1 session replication is not working

$
0
0

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://cascenter.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.


Viewing all articles
Browse latest Browse all 1091

Trending Articles