4 Replies Latest reply on Dec 21, 2012 10:21 AM by Raghu Kunde

    clustered-cache-quickstart not working on my local env

    Raghu Kunde Newbie

      I am trying to setup and infinispan on my local eclipse IDE (3.7.2.2), I have maven and m2eclipse installed.

      "embedded-cache-quickstart" works fine, so my build and dependencies seem to be in order.

       

      When running "replication" or "districution" portions, I get same / similar messages, cluster does not form.

      I tried to use -Djava.net.preferIPv4Stack=true  -Djgroups.bind_addr="127.0.0.1" on the Run Config.

       

      no body talked about any multicast setup, but in jgroups.xml, "UDP" element has this attribute:

       

      mcast_addr="${jgroups.udp.mcast_addr:228.6.7.8}"

       

      I tried to change it to "127.0.0.1" but it gives an error.

      It is same behavior if I use

       

      createCacheManagerProgramatically(), or 

      createCacheManagerFromXml()

       

       

      from AbstractNode.java

      I tried to search for jgroups not binding etc etc on google, but could not find anything.

       

      Any help / pointers appreciated.

      Thanks

      Raghu

       

      Below is from replication portion:

      Node 0:

      Dec 18, 2012 3:38:29 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport start

      INFO: ISPN000078: Starting JGroups Channel

      Dec 18, 2012 3:38:30 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: unable to find an address other than loopback for IP version IPv6

      Dec 18, 2012 3:38:33 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport viewAccepted

      INFO: ISPN000094: Received new cluster view: [LB22809GX-11977|0] [LB22809GX-11977]

      Dec 18, 2012 3:38:33 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport startJGroupsChannelIfNeeded

      INFO: ISPN000079: Cache local address is LB22809GX-11977, physical addresses are [0.0.0.0:50192]

      Dec 18, 2012 3:38:33 PM org.infinispan.factories.GlobalComponentRegistry start

      INFO: ISPN000128: Infinispan version: Infinispan 'Brahma' 5.1.0.CR2

      Dec 18, 2012 3:38:59 PM org.jgroups.logging.JDKLogImpl error

      SEVERE: failed sending message to LB22809GX-64889 (136 bytes): java.lang.Exception: dest=/0.0.0.0:50193 (139 bytes), cause: java.net.BindException: Cannot assign requested address: Datagram send failed

      Dec 18, 2012 3:39:02 PM org.jgroups.logging.JDKLogImpl error

      SEVERE: failed sending message to LB22809GX-64889 (136 bytes): java.lang.Exception: dest=/0.0.0.0:50193 (139 bytes), cause: java.net.BindException: Cannot assign requested address: Datagram send failed

      Dec 18, 2012 3:39:09 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-11977: dropped message 1 from LB22809GX-64889 (sender not in table [LB22809GX-11977]), view=[LB22809GX-11977|0] [LB22809GX-11977]

      Dec 18, 2012 3:39:09 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-11977: dropped message 2 from LB22809GX-64889 (sender not in table [LB22809GX-11977]), view=[LB22809GX-11977|0] [LB22809GX-11977]

      -------------------------------------

      Node 1:

       

      Dec 18, 2012 3:38:59 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport start

      INFO: ISPN000078: Starting JGroups Channel

      Dec 18, 2012 3:38:59 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: unable to find an address other than loopback for IP version IPv6

      Dec 18, 2012 3:39:02 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport viewAccepted

      INFO: ISPN000094: Received new cluster view: [LB22809GX-64889|0] [LB22809GX-64889]

      Dec 18, 2012 3:39:02 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport startJGroupsChannelIfNeeded

      INFO: ISPN000079: Cache local address is LB22809GX-64889, physical addresses are [0.0.0.0:50193]

      Dec 18, 2012 3:39:02 PM org.infinispan.factories.GlobalComponentRegistry start

      INFO: ISPN000128: Infinispan version: Infinispan 'Brahma' 5.1.0.CR2

      Dec 18, 2012 3:39:02 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: no physical address for 2c94506d-9403-487a-21b0-42df3f41af69, dropping message

      Dec 18, 2012 3:39:10 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: no physical address for 2c94506d-9403-487a-21b0-42df3f41af69, dropping message

      Dec 18, 2012 3:39:13 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: dropped message 3 from 2c94506d-9403-487a-21b0-42df3f41af69 (sender not in table [LB22809GX-64889]), view=[LB22809GX-64889|0] [LB22809GX-64889]

      Dec 18, 2012 3:39:14 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: dropped message 4 from 2c94506d-9403-487a-21b0-42df3f41af69 (sender not in table [LB22809GX-64889]), view=[LB22809GX-64889|0] [LB22809GX-64889]

      Dec 18, 2012 3:39:34 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: no physical address for 2c94506d-9403-487a-21b0-42df3f41af69, dropping message

      Dec 18, 2012 3:39:55 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: no physical address for 2c94506d-9403-487a-21b0-42df3f41af69, dropping message

      Dec 18, 2012 3:40:17 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: no physical address for 2c94506d-9403-487a-21b0-42df3f41af69, dropping message

      Dec 18, 2012 3:40:44 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: no physical address for 2c94506d-9403-487a-21b0-42df3f41af69, dropping message

      Dec 18, 2012 3:40:51 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: dropped message 5 from 2c94506d-9403-487a-21b0-42df3f41af69 (sender not in table [LB22809GX-64889]), view=[LB22809GX-64889|0] [LB22809GX-64889]

      Dec 18, 2012 3:40:51 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: dropped message 6 from 2c94506d-9403-487a-21b0-42df3f41af69 (sender not in table [LB22809GX-64889]), view=[LB22809GX-64889|0] [LB22809GX-64889]

      Dec 18, 2012 3:41:00 PM org.jgroups.logging.JDKLogImpl warn

      WARNING: LB22809GX-64889: no physical address for 2c94506d-9403-487a-21b0-42df3f41af69, dropping message

      Dec 18, 2012 3:41:02 PM org.infinispan.quickstart.clusteredcache.util.ClusterValidation checkReplicationSeveralTimes

      WARN: Cluster failed to form!

      Exception in thread "main" java.lang.IllegalStateException: Error forming cluster, check the log

      at org.infinispan.quickstart.clusteredcache.replication.AbstractNode.waitForClusterToForm(AbstractNode.java:76)

      at org.infinispan.quickstart.clusteredcache.replication.Node1.run(Node1.java:41)