Thanks for the details. To sum-up, we cannot achieve session replication between two amazon ec2 instances since EC2 doesn't provide multicasting and glassfish works on this transmission method. So I guess even the "command replication" described here (http://wikis.sun.com/display/glassfish/3.1MS1ClusteringDemo) should not work between these two instances. How else can we achieve session replication here? Did you mention "Coherence"?
[Message sent by forum member 'rubycube']