1 2 Previous Next 15 Replies Latest reply on Aug 6, 2012 8:27 AM by belaban Go to original post
      • 15. Re: Infinispan/Jgroups relay across 2 sites
        belaban

        First of all, 'relay' needs to be true. Then jgroups-tcp-relay1.xml and jgroups-tcp-relay2.xml need to be separate clusters; they cannot form a single cluster. (Just to confirm, I think you configured them right).

        Both of these clusters refer to the same bridge cluster, that's correct, too.

         

        Make sure that all config files are found, you specified relative names, are you sure that the AS will resolve them correctly ? E.g. are they on the classpath ? I suggest, for starters, to use absolute pathnames, e.g. /home/bela/jgroups-tcp-relay1.xml for the 2 local and the bridge cluster.

         

        Also, RELAY won't work with REPL, you have to use DIST.

         

        Last, but not least, you need to use the TopologyAwareConsistenHash function (defined in <hash.../>).

         

        Check out my presentation at JBossWorld 2011 (google). If you don't find it, I can send it to you (send me an email).

        Cheers,

        1 2 Previous Next