Message discarded from non-member
ugurdincer Feb 16, 2006 4:38 AMHi,
Trying setup a replicated cluster with two machines.
Linux on one side and Windows on the other side.
Receive "... discarded message from non-member..." even though both nodes use same multicast address and port.
Any comments?
Using following configuration.
<mbean code="org.jboss.cache.TreeCache" name="jboss.cache:service=TomcatClusteringCache"> <depends>jboss:service=Naming</depends> <depends>jboss:service=TransactionManager</depends> <!-- Configure the TransactionManager --> <!--attribute name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute--> <!-- Isolation level : SERIALIZABLE REPEATABLE_READ (default) READ_COMMITTED READ_UNCOMMITTED NONE --> <attribute name="IsolationLevel">REPEATABLE_READ</attribute> <!-- Valid modes are LOCAL, REPL_ASYNC and REPL_SYNC --> <attribute name="CacheMode">REPL_ASYNC</attribute> <!-- Name of cluster. Needs to be the same for all clusters, in order to find each other --> <attribute name="ClusterName">Tomcat-Cluster</attribute> <!-- JGroups protocol stack properties. Can also be a URL, e.g. file:/home/bela/default.xml <attribute name="ClusterProperties"></attribute> --> <attribute name="ClusterConfig"> <!-- The default UDP stack: - If you have a multihomed machine, set the UDP protocol's bind_addr attribute to the appropriate NIC IP address, e.g bind_addr="192.168.0.2". - On Windows machines, because of the media sense feature being broken with multicast (even after disabling media sense) set the UDP protocol's loopback attribute to true --> <!-- Some protocols and/or attributes don't work with JGroups versions prior to 2.2.9 (VIEW_SYNC), receive_on_interfaces, send_on_interfaces, tos --> <config> <!-- receive_interfaces="eth0,eth1" send_interfaces="eth0,eth1" --> <!-- JGroups 2.2.9 properties tos="16" && discard_incompatible_packets="true" --> <UDP receive_interfaces="eth0" send_interfaces="eth0" mcast_port="45566" mcast_addr="228.10.10.10" ucast_recv_buf_size="20000000" ucast_send_buf_size="640000" mcast_recv_buf_size="25000000" mcast_send_buf_size="640000" loopback="false" max_bundle_size="64000" max_bundle_timeout="30" use_incoming_packet_handler="true" use_outgoing_packet_handler="false" ip_ttl="8" down_thread="false" up_thread="false" enable_bundling="true"/> <PING timeout="2000" down_thread="false" up_thread="false" num_initial_members="3"/> <MERGE2 max_interval="100000" down_thread="false" up_thread="false" min_interval="20000"/> <FD_SOCK down_thread="false" up_thread="false"/> <!--VERIFY_SUSPECT timeout="1500" down_thread="false"/--> <pbcast.NAKACK max_xmit_size="60000" use_mcast_xmit="false" gc_lag="0" retransmit_timeout="100,200,300,600,1200,2400,4800" down_thread="false" up_thread="false" discard_delivered_msgs="false"/> <UNICAST timeout="300,600,1200,2400,3600" down_thread="false" up_thread="false"/> <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" down_thread="false" up_thread="false" max_bytes="400000"/> <VIEW_SYNC avg_send_interval="60000" down_thread="false" up_thread="false" /> <pbcast.GMS print_local_addr="true" join_timeout="3000" down_thread="false" up_thread="false" join_retry_timeout="2000" shun="true"/> <FC max_credits="2000000" down_thread="false" up_thread="false" min_threshold="0.10"/> <FRAG2 frag_size="60000" down_thread="false" up_thread="true"/> <pbcast.STATE_TRANSFER down_thread="false" up_thread="false"/> </config> </attribute> <!-- Max number of milliseconds to wait for a lock acquisition --> <attribute name="LockAcquisitionTimeout">15000</attribute> <!-- Just used for async repl: use a replication queue --> <attribute name="UseReplQueue">true</attribute> <!-- Replication interval for replication queue (in ms) --> <attribute name="ReplQueueInterval">5000</attribute> <!-- Max number of elements which trigger replication --> <attribute name="ReplQueueMaxElements">100</attribute> <attribute name="FetchStateOnStartup">true</attribute> <attribute name="CacheLoaderShared">false</attribute> <attribute name="CacheLoaderFetchPersistentState">false</attribute> <attribute name="CacheLoaderFetchTransientState">true</attribute>
I've tried with different configurations for attributes listed above but nothing changed.