users@glassfish.java.net

Problem with glassfish clustering 3.1.1 b8

From: <forums_at_java.net>
Date: Thu, 23 Jun 2011 03:58:11 -0500 (CDT)

Hi,

I have a problem with glassfish clustering.

Sessions from my app, not replicated to another node, but in all other
aspects cluster works correctly.

*asadmin list-instances -l*

NAME HOST PORT PID CLUSTER STATE

portal-instance1 localhost 24848 6343 portal-cluster running

portal-instance3 fss-portal3 24848 4628 portal-cluster running

Command list-instances executed successfully.

*asadmin get-health portal-cluster*

portal-instance1 started since Wed Jun 22 17:17:20 MSD 2011

portal-instance3 started since Wed Jun 22 17:17:21 MSD 2011

Command get-health executed successfully.

When i'm running *asadmin validate-multicast --multicastaddress 228.9.31.248
--multicastport 8150 --bindaddress 172.17.12.172 --timeout 45* on second node
in logs appears error message like this:

[#|2011-06-22T17:35:16.680+0400|WARNING|glassfish3.1|ShoalLogger|_ThreadID=29;_ThreadName=Thread-1;|GMS1071:
damaged multicast packet discarded

java.lang.IllegalArgumentException: magic number is not valid

at
com.sun.enterprise.mgmt.transport.MessageImpl.parseHeader(MessageImpl.java:172)

at
com.sun.enterprise.mgmt.transport.BlockingIOMulticastSender$MessageProcessTask.run(BlockingIOMulticastSender.java:349)

at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:662)

my application deployed with such options:

*--availabilityenabled=true --asyncreplication=true  --lbenabled=true*, and
it has *<distributable/>* in web.xml.

Multicast address for this cluster is 228.9.31.248, and there are no other
clients that may use it.

On first node:

ip maddr

1:      lo

        inet  224.0.0.1

2:      eth0

        link  01:00:5e:09:1f:f8

        link  e0:00:00:80:00:00 static

        link  01:00:5e:00:00:fb

        link  01:00:5e:00:00:01

*        inet  228.9.31.248 users 2*

        inet  224.0.0.251

        inet  224.0.0.1

On second node:

ip maddr

1:      lo

        inet  224.0.0.1

2:      eth0

        link  01:00:5e:09:1f:f8

        link  01:00:5e:00:00:fb

        link  01:00:5e:00:00:01

*        inet  228.9.31.248*

        inet  224.0.0.251

        inet  224.0.0.1

While using tcpdump, i see that packets going only from this two machines:

12:50:55.093321 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1418) 172.17.12.172.8150 > 228.9.31.248.8150: UDP, length
1390

12:50:55.495609 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1418) 172.17.12.173.8150 > 228.9.31.248.8150: UDP, length
1390

12:50:57.065152 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1407) 172.17.12.172.8150 > 228.9.31.248.8150: UDP, length
1379

*12:50:57.095068 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1418) 172.17.12.172.8150 > 228.9.31.248.8150: UDP, length
1390
12:50:57.498184 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1418) 172.17.12.173.8150 > 228.9.31.248.8150: UDP, length
1390*

12:50:59.068533 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1407) 172.17.12.172.8150 > 228.9.31.248.8150: UDP, length
1379

12:50:59.099000 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1418) 172.17.12.172.8150 > 228.9.31.248.8150: UDP, length
1390

12:50:59.500949 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1418) 172.17.12.173.8150 > 228.9.31.248.8150: UDP, length
1390

12:51:01.071394 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1407) 172.17.12.172.8150 > 228.9.31.248.8150: UDP, length
1379

12:51:01.101361 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1418) 172.17.12.172.8150 > 228.9.31.248.8150: UDP, length
1390

12:51:01.503991 IP (tos 0x0, ttl   4, id 0, offset 0, flags [DF], proto:
UDP (17), length: 1418) 172.17.12.173.8150 > 228.9.31.248.8150: UDP, length
1390

Maybe someone may help?


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