diff --git a/core/pom.xml b/core/pom.xml index d6b5db12803..1187e3d155d 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,7 +6,7 @@ org.libreclinica LibreClinica - 0.7.0 + 0.7.1 diff --git a/core/src/main/java/org/akaza/openclinica/dao/core/SQLFactory.java b/core/src/main/java/org/akaza/openclinica/dao/core/SQLFactory.java index 67b15bed00a..04e5228650f 100755 --- a/core/src/main/java/org/akaza/openclinica/dao/core/SQLFactory.java +++ b/core/src/main/java/org/akaza/openclinica/dao/core/SQLFactory.java @@ -148,14 +148,14 @@ public void run(String dbName, ResourceLoader resourceLoader) { // key is the public static final sting used above; value is the actual // filename HashMap fileList = new HashMap(); - CacheManager cacheManager = new CacheManager(); + CacheManager cacheManager = null; try { - if(resourceLoader!=null && cacheManager!=null) - cacheManager = cacheManager.create(resourceLoader.getResource("classpath:org/akaza/openclinica/ehcache.xml").getInputStream()); + if(resourceLoader!=null) + cacheManager = new CacheManager(resourceLoader.getResource("classpath:org/akaza/openclinica/ehcache.xml").getInputStream()); } catch (CacheException e) { e.printStackTrace(); diff --git a/core/src/main/resources/org/akaza/openclinica/ehcache.xml b/core/src/main/resources/org/akaza/openclinica/ehcache.xml index c03de81f309..95d5b81ca06 100644 --- a/core/src/main/resources/org/akaza/openclinica/ehcache.xml +++ b/core/src/main/resources/org/akaza/openclinica/ehcache.xml @@ -1,4 +1,4 @@ - + org.libreclinica LibreClinica pom - 0.7.0 + 0.7.1 LibreClinica LibreClinica diff --git a/web/pom.xml b/web/pom.xml index e19391e4f3c..0c2bae79e63 100644 --- a/web/pom.xml +++ b/web/pom.xml @@ -6,7 +6,7 @@ org.libreclinica LibreClinica - 0.7.0 + 0.7.1 diff --git a/ws/pom.xml b/ws/pom.xml index 208aa75faa8..27e7d32e3df 100644 --- a/ws/pom.xml +++ b/ws/pom.xml @@ -6,7 +6,7 @@ org.libreclinica LibreClinica - 0.7.0 + 0.7.1