Repository: cxf-fediz Updated Branches: refs/heads/master e75a5c1ad -> c3893abfd
Correcting cache file location Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/c3893abf Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/c3893abf Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/c3893abf Branch: refs/heads/master Commit: c3893abfdb41777da9458eb8d46c5344cdddaba0 Parents: e75a5c1 Author: Colm O hEigeartaigh <[email protected]> Authored: Mon Oct 6 12:14:07 2014 +0100 Committer: Colm O hEigeartaigh <[email protected]> Committed: Mon Oct 6 12:14:07 2014 +0100 ---------------------------------------------------------------------- .../java/org/apache/cxf/fediz/core/config/FedizContext.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/c3893abf/plugins/core/src/main/java/org/apache/cxf/fediz/core/config/FedizContext.java ---------------------------------------------------------------------- diff --git a/plugins/core/src/main/java/org/apache/cxf/fediz/core/config/FedizContext.java b/plugins/core/src/main/java/org/apache/cxf/fediz/core/config/FedizContext.java index 32fcdfe..4481ca3 100644 --- a/plugins/core/src/main/java/org/apache/cxf/fediz/core/config/FedizContext.java +++ b/plugins/core/src/main/java/org/apache/cxf/fediz/core/config/FedizContext.java @@ -221,17 +221,17 @@ public class FedizContext implements Closeable { String cacheKey = CACHE_KEY_PREFIX + "-" + config.getName(); ReplayCacheFactory replayCacheFactory = ReplayCacheFactory.newInstance(); if (replayCacheString == null || "".equals(replayCacheString)) { - replayCache = replayCacheFactory.newReplayCache(cacheKey, "fediz-ehcache.xml"); + replayCache = replayCacheFactory.newReplayCache(cacheKey, "/fediz-ehcache.xml"); } else { try { Class<?> replayCacheClass = Loader.loadClass(replayCacheString); replayCache = (ReplayCache) replayCacheClass.newInstance(); } catch (ClassNotFoundException e) { - replayCache = replayCacheFactory.newReplayCache(cacheKey, "fediz-ehcache.xml"); + replayCache = replayCacheFactory.newReplayCache(cacheKey, "/fediz-ehcache.xml"); } catch (InstantiationException e) { - replayCache = replayCacheFactory.newReplayCache(cacheKey, "fediz-ehcache.xml"); + replayCache = replayCacheFactory.newReplayCache(cacheKey, "/fediz-ehcache.xml"); } catch (IllegalAccessException e) { - replayCache = replayCacheFactory.newReplayCache(cacheKey, "fediz-ehcache.xml"); + replayCache = replayCacheFactory.newReplayCache(cacheKey, "/fediz-ehcache.xml"); } } return replayCache;
