[
https://issues.apache.org/jira/browse/SHIRO-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lenny Primak closed SHIRO-644.
------------------------------
Resolution: Abandoned
> EhCacheManager.getCache Error Cache cacheName already exists
> ------------------------------------------------------------
>
> Key: SHIRO-644
> URL: https://issues.apache.org/jira/browse/SHIRO-644
> Project: Shiro
> Issue Type: Bug
> Components: Caching
> Affects Versions: 1.4.0-RC2, 1.4.0
> Reporter: zhaohuihua
> Priority: Major
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> 1.4.0-RC2 EhCacheManager.java line 155~172
>
> net.sf.ehcache.Ehcache cache = ensureCacheManager().getEhcache(name);
> if (cache == null) {
> {color:#ff0000}synchronized (name.intern()) {color}{
> cache = manager.getCache(name);
> if (cache == null) {
> if (log.isInfoEnabled()) {
> log.info("Cache with name '{}' does not yet exist. Creating
> now.", name);
> }
> this.manager.addCache(name);
>
> cache = manager.getCache(name);
> ...
> }
> }
> } else \{ ... }
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]