When I start 2 instances of Infinispan Servers, they tend to form a cluster automatically. How do I disable this ? Any idea ?
If you want to use infinispan as a local cache only, then remove the "clustring" element from the configuration file.
Alterantively, you can configure it programatically:
ConfigurationBuilder cb = new ConfigurationBuilder(); cb.clustering().cacheMode(CacheMode.LOCAL)
ConfigurationBuilder cb = new ConfigurationBuilder();
Ok, I have two AS7 instances. I made the caches local, still they seem to form a cluster.. Is there any auto-discovery via JGroups which does this ? How do I disable this ?
if you mark the cache as local then it must be some other ISPN cache that starts the cluster. Do you use any kind of clustering?
Posting the following would help narrow down the problem: the way you configure the cache (programmatic/xml), the TRACE logs of the AS.
Retrieving data ...