[jboss-jira] [JBoss JIRA] (JGRP-1434) ClassCastException with MPING
Bela Ban (JIRA)
jira-events at lists.jboss.org
Tue Mar 6 11:44:36 EST 2012
[ https://issues.jboss.org/browse/JGRP-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674061#comment-12674061 ]
Bela Ban commented on JGRP-1434:
--------------------------------
OK, I see what happened. In the UDP config, mcast_port is 46655. In the TCP config, MPING is also configured to use 46655. Both UDP (in jgroups-udp.xml) and MPING (in jgroups-tcp.xml) use the same multicast address.
If you now run same TCP based instances, and some UDP based instances, MPING will receive traffic from the UDP based nodes, which of course it doesn't know how to parse !
This is a configuration error, and I suggest needs to be changed in Infinispan.
> ClassCastException with MPING
> -----------------------------
>
> Key: JGRP-1434
> URL: https://issues.jboss.org/browse/JGRP-1434
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.0.6
> Reporter: Galder Zamarreño
> Assignee: Bela Ban
> Fix For: 3.0.7, 3.1
>
>
> That's running https://github.com/infinispan/infinispan/blob/master/core/src/main/resources/jgroups-tcp.xml
> {code}SEVERE: failed receiving packet (from /127.0.0.1:46655)
> java.lang.ClassCastException: org.jgroups.util.TopologyUUID cannot be cast to org.jgroups.Header
> at org.jgroups.Message.readHeader(Message.java:901)
> at org.jgroups.Message.readFrom(Message.java:785)
> at org.jgroups.protocols.MPING.run(MPING.java:329)
> at java.lang.Thread.run(Thread.java:680){code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list