mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged BRANCHES/V3.2 to HEAD:
19181: Merged V3.1 to V3.2 18999: Merged DEV/BELARUS/V3.1-2010_02_05 to V3.1 (with modifications) 18972: Upgrade EHCache to 1.7.x (latest) 19069: Use compatible slf4j API and implementation libraries git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19268 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -99,7 +99,7 @@ public class InternalEhCacheManagerFactoryBean implements FactoryBean<CacheManag
|
||||
try
|
||||
{
|
||||
URL configUrl = ResourceUtils.getURL(CUSTOM_CONFIGURATION_FILE);
|
||||
InternalEhCacheManagerFactoryBean.cacheManager = new CacheManager(configUrl);
|
||||
InternalEhCacheManagerFactoryBean.cacheManager = CacheManager.create(configUrl);
|
||||
}
|
||||
catch (FileNotFoundException e)
|
||||
{
|
||||
@@ -109,7 +109,7 @@ public class InternalEhCacheManagerFactoryBean implements FactoryBean<CacheManag
|
||||
{
|
||||
throw new AlfrescoRuntimeException("Missing default cache config: " + DEFAULT_CONFIGURATION_FILE);
|
||||
}
|
||||
InternalEhCacheManagerFactoryBean.cacheManager = new CacheManager(configUrl);
|
||||
InternalEhCacheManagerFactoryBean.cacheManager = CacheManager.create(configUrl);
|
||||
defaultLocation = true;
|
||||
}
|
||||
// done
|
||||
|
Reference in New Issue
Block a user