Commit 9eb5128c authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Do not print errors when enterprise is not available. JM-1179

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9454 b35dd754-fafc-0310-a699-88a17e54d16e
parent 92200667
...@@ -204,6 +204,8 @@ public class CacheFactory { ...@@ -204,6 +204,8 @@ public class CacheFactory {
clusteredCacheFactoryClass, true, clusteredCacheFactoryClass, true,
getClusteredCacheStrategyClassLoader("enterprise")).newInstance(); getClusteredCacheStrategyClassLoader("enterprise")).newInstance();
return cacheFactory.getMaxClusterNodes(); return cacheFactory.getMaxClusterNodes();
} catch (ClassNotFoundException e) {
// Do nothing
} catch (Exception e) { } catch (Exception e) {
Log.error("Error instantiating clustered cache factory", e); Log.error("Error instantiating clustered cache factory", e);
} }
...@@ -283,7 +285,7 @@ public class CacheFactory { ...@@ -283,7 +285,7 @@ public class CacheFactory {
return pluginLoader; return pluginLoader;
} }
else { else {
Log.warn("Unable to find PluginClassloader for plugin: " + pluginName + " in CacheFactory."); Log.debug("Unable to find PluginClassloader for plugin: " + pluginName + " in CacheFactory.");
return Thread.currentThread().getContextClassLoader(); return Thread.currentThread().getContextClassLoader();
} }
} }
......
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