Troubleshooting
Problem
CacheManager/java.lang.InstantiationException: Cannot find the cache definition errors
Symptom
This solution is to understand the root cause for the CacheManager/java.lang.InstantiationException: Cannot find the cache definition error which come in logs. The entire error stack trace is listed below in the "Error Message" section
Error Message2009.02.12 14:00:19:111 Env/http-8080-Processor23:WARN:CacheManager Creating a new instance of CacheManager using the diskStorePath "<diskStorePath directory>" which is already used by an existing CacheManager. The source of the configuration was file located in WEB-INF/properties/UserCache.xml.
Resolving The Problem
The error is resolved after putting an entry for
'ProductEntitlementCache’ in the UserCache.xml file.
Out of the box this is the definition for ‘ProductEntitlementCache’
in UserCache.xml file:
<cache name="ProductEntitlementCache" maxElementsInMemory="50"
eternal="false" overflowToDisk="true" diskPersistent="false"
timeToIdleSeconds="900" memoryStoreEvictionPolicy="LFU"
Historical Number
NFX6355
Product Synonym
[<p><b>]Escalation ID[</b><p>];18895;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix;[<p><b>]Build[</b><p>];801
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21552238