2 Replies Latest reply on Jan 17, 2007 11:10 AM by Manik Surtani

    Simple question: Clustering with FileCacheLoader

    Jeff Ploughman Newbie

      I am using JBossCache in a WebSphere environment. I had been using a FileCacheLoader in LOCAL mode, although I hadn't set the CacheMode explicitly. So far, so good.

      Now, I want to enable clustering. I still want to use a FileExtendedCacheLoader; but, I want to replicate data across two WebSphere instances (in the same WS cluster.) I searched the documentation for the appropriate configuration, and, I am unclear how much I have to configure.

      I would expect that I'd have to add some configuration that allows each TreeCache to discover the other nodes in it's cluster. Thus, I see the ClusterConfig stanza in some example configurations.

      Is it enough just to set the cache mode to REPL_SYNC (I want synchronous replication)?

      Actually, a better way to ask this question is:

      Here is my (very minimal) configuration. What do I have to add to enable clustering?

      <?xml version="1.0" encoding="UTF-8"?>