Commit 4a523da1 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Revert to local cache factory if cluster fails to start.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8195 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8ab44dbb
......@@ -373,6 +373,10 @@ public class CacheFactory {
clusteringEnabled = true;
fireClusteringStarted();
}
else {
// Revert to local cache factory if cluster fails to start
cacheFactoryStrategy = (CacheFactoryStrategy) Class.forName(localCacheFactoryClass).newInstance();
}
}
catch (Exception e) {
Log.error("Unable to start clustering - continuing in local mode", e);
......
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