.addProperty("configurationXml", jgroupsXml)
.globalJmxStatistics()
.jmxDomain("org.apache.marmotta.ldcache")
.allowDuplicateDomains(true)
.serialization()
.addAdvancedExternalizer(new ModelExternalizer())
.addAdvancedExternalizer(new ValueExternalizer())
.build();
} catch (IOException ex) {
log.warn("error loading JGroups configuration from archive: {}", ex.getMessage());
log.warn("some configuration options will not be available");
globalConfiguration = new GlobalConfigurationBuilder()
.classLoader(LDCachingInfinispanBackend.class.getClassLoader())
.transport()
.defaultTransport()
.clusterName(clusterName)
.machineId(machineName)
.addProperty("configurationFile", "jgroups-ldcache.xml")
.globalJmxStatistics()
.jmxDomain("org.apache.marmotta.ldcache")
.allowDuplicateDomains(true)
.serialization()
.addAdvancedExternalizer(new ModelExternalizer())
.addAdvancedExternalizer(new ValueExternalizer())
.build();
}