Configure a clustered cache from an existing JGroups file
Using an external JGroups file If you are configuring your cache programmatically, all you need to do is: Â // ... GlobalConfiguration gc = .... Properties p = new Properties(); p.setProperty("configurationFile", "jgroups.xml"); gc.setTransportProperties(p); // ... Â and if you happen to use an XML file to configure Infinispan, just use: Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ... Â In both cases above, Infinispan expects jgroups.xml to either be on your classpath or for it to be an absolute path name.