users@glassfish.java.net

Re: in-memory session replication problem between two server

From: <glassfish_at_javadesktop.org>
Date: Tue, 02 Sep 2008 02:13:45 PDT

Hi all,

thanks for the information Shreedhar.

I've done some more tests which are based on this forum entry I found in the evening: https://glassfish.dev.java.net/servlets/ReadMsg?list=users&msgNo=10158

It's nearly the same scenario with the only main difference (beside glassfish and java versions) that senjay had two different hardware servers and I'm using two solaris container as servers.

Encouraged by this thread, I've also done some multicast tests using JGroups and it seems my multicast works quite well. Using the same IP address and port glassfish uses for heartbeat communication, my JGroups example receives lots of Exceptions from the three servers (server1, server2, das) stating that the packets they receive have different versions.

Moreover, both JGroups examples running on both servers also receives the messages they send each other as shown below:

node1:
172.25.3.121:39406 Sending..: XXX timeMillis:1220345217860
Received: 172.25.3.121:39406: XXX timeMillis:1220345217860
Received: 172.25.3.122:39407: XXX timeMillis:1220345218340
172.25.3.121:39406 Sending..: XXX timeMillis:1220345222870
Received: 172.25.3.121:39406: XXX timeMillis:1220345222870
Received: 172.25.3.122:39407: XXX timeMillis:1220345223350
172.25.3.121:39406 Sending..: XXX timeMillis:1220345227880
Received: 172.25.3.121:39406: XXX timeMillis:1220345227880
Received: 172.25.3.122:39407: XXX timeMillis:1220345228360

node2:
172.25.3.122:39407 Sending..: XXX timeMillis:1220345218340
Received: 172.25.3.122:39407: XXX timeMillis:1220345218340
Received: 172.25.3.121:39406: XXX timeMillis:1220345222870
172.25.3.122:39407 Sending..: XXX timeMillis:1220345223350
Received: 172.25.3.122:39407: XXX timeMillis:1220345223350
Received: 172.25.3.121:39406: XXX timeMillis:1220345227880
172.25.3.122:39407 Sending..: XXX timeMillis:1220345228360
Received: 172.25.3.122:39407: XXX timeMillis:1220345228360

So it seems to me that multicast problems aren't the cause for my replication problems as it was a year ago in senjay's case. Hope this information helps a bit. Any hints about entries to check the glassfish logfiles for would be appreciated

Greetings
Christian
[Message sent by forum member 'schommi' (schommi)]

http://forums.java.net/jive/thread.jspa?messageID=296637