Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP3 (5.2.7)
-
All
Description
Some FinderCache and EntityCache are created when the server starts. If a concurrent requests come asking for the same cache, the same cache may be created more than once. This behavior is perfectly safe since the last cache will overwrite any previous caches. However, if JMX is enabled for ehcache, ehcache needs to register the added cache and ehcache's JMX considers registering an exist cache as an error. To address this annoying error message that may appear, a protection for concurrently adding caches has been added.
Attachments
Issue Links
- is related to
-
LPS-6933 Add double check synchronized protection to EhcachePortalCacheManager.getCache()
- Closed