1 Reply Latest reply on Feb 23, 2009 11:58 AM by Mircea Markus

    Suppressing replication whilst still persisting?

    Can Oe. Newbie

      Is there a way in JBoss Cache to suppress replication (e.g. by invoking setCacheModeLocal(true)) but to have persistence work as usual?

      I have tried suppressed replication with no persistence interceptor configured, and it worked. But as soon as I uncomment the persistence config in the jboss cache xml, replication suppression becomes ineffective.

        • 1. Re: Suppressing replication whilst still persisting?
          Mircea Markus Master

           

          I have tried suppressed replication with no persistence interceptor configured, and it worked. But as soon as I uncomment the persistence config in the jboss cache xml, replication suppression becomes ineffective.

          It shouldn't replicate stuff even when cache loaders are configured. Are you sure the two cache instances you use do not share the same store? E.g. both caches connecting to same database?