Troubleshooting
Problem
NERV fails to deliver events when the NERV cache is corrupted.
When a NERV application sends events, depending on the delivery quality of service, the events first go through EhCache and get persisted to the local disk.
If EhCache cannot be successfully initialized when you start the runtime, NERV cannot deliver any events. Additionally, NERV does not log an error and does not throw an error back to the application.
sag-osgi.log shows:
net.sf.ehcache.CacheException: com.terracottatech.frs.recovery.RecoveryException: Recovery is incomplete for log /sag/MWS_default/cachedata/nerv.caches/persistence/cachedata. Files may be missing.
at net.sf.ehcache.store.restartability.EhcacheRestartability.startStore(EhcacheRestartability.java:257)
at net.sf.ehcache.store.restartability.EhcacheRestartability.bootstrapRestartability(EhcacheRestartability.java:223)
at net.sf.ehcache.store.restartability.EhcacheRestartability.startup(EhcacheRestartability.java:96)
at net.sf.ehcache.EnterpriseFeaturesManager.startup(EnterpriseFeaturesManager.java:98)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:520)
at net.sf.ehcache.CacheManager.init(CacheManager.java:395)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:270)
at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1116)
at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:947)
at com.softwareag.eda.nerv.impl.cache.NERVCacheManager.initializeFromConfigDirectory(NERVCacheManager.java:158)
at com.softwareag.eda.nerv.impl.cache.NERVCacheManager.initializeCacheManager(NERVCacheManager.java:123)
at com.softwareag.eda.nerv.impl.cache.NERVCacheManager.<init>(NERVCacheManager.java:93)
at com.softwareag.eda.nerv.impl.EventEmitterImpl.activate(EventEmitterImpl.java:98)
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
19 March 2025
UID
ibm17190074