Troubleshooting
Problem
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
2009.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"
Was this topic helpful?
Document Information
Modified date:
19 May 2025
UID
swg21552238