My Oracle Support Banner

Force Shutdown Can Corrupt Incache Disk Cache (Doc ID 1494534.1)

Last updated on DECEMBER 21, 2022

Applies to:

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

Goal

A CS environment has incache enabled, and this java parameter -Dnet.sf.ehcache.enableShutdownHook=true specified in the JVM startup scripts.

However there is a practice of force shutting down the environment, and have been noticing similar error as below in the log:

net.sf.ehcache.distribution.RMISynchronousCacheReplicator replicateRemovalNotification
SEVERE: Exception on replication of removeNotification. dependencyRepositoryCache: Could not remove disk store entry for key <assettype>:1295073051332. Error was null. Continuing...
net.sf.ehcache.CacheException: dependencyRepositoryCache: Could not remove disk store entry for key <assettype>:1295073051332. Error was null
at net.sf.ehcache.store.DiskStore.remove(DiskStore.java:474)
at net.sf.ehcache.Cache.remove(Cache.java:1519)
at net.sf.ehcache.Cache.remove(Cache.java:1446)
at net.sf.ehcache.Cache.remove(Cache.java:1404)
at net.sf.ehcache.Cache.remove(Cache.java:1382)
at com.fatwire.cache.ehcache.EhCacheObjectCache$DependencyRepository.invalidate(EhCacheObjectCache.java:1096)

Could the force shutdowns cause this error?

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.