Unexpecte Exception After Upgrading to EhCache 2.5.7

(Doc ID 2226416.1)

Last updated on JANUARY 27, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

After EhCache upgrade to 2.5.7, the following error is logged:

[ERROR] [.kernel.Default (self-tuning)'] [fatwire.cs.systemtools.util] Unexpected exception while making CacheManager for url-cache
net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:458)
at net.sf.ehcache.CacheManager.init(CacheManager.java:355)
at net.sf.ehcache.CacheManager.(CacheManager.java:301)
at com.fatwire.cs.systemtools.util.CacheUtil.getCacheManagerByResource(CacheUtil.java:127)
at com.fatwire.cs.systemtools.util.CacheUtil.getCacheManager(CacheUtil.java:100)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms