Commit 53721442 authored by Chad Barry's avatar Chad Barry

Pass the ClusterClassLoader to the hazelcast instance.

parent fdb71e4c
......@@ -125,6 +125,7 @@ public class ClusteredCacheFactory implements CacheFactoryStrategy {
try {
Config config = new ClasspathXmlConfig(HAZELCAST_CONFIG_FILE);
config.setInstanceName("openfire");
config.setClassLoader(loader);
if (JMXManager.isEnabled() && HAZELCAST_JMX_ENABLED) {
config.setProperty("hazelcast.jmx", "true");
config.setProperty("hazelcast.jmx.detailed", "true");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment