net.sf.ehcache.CacheException: java.io.NotSerializableException: net.sf.ehcache.Cache

Terracotta | sagandhi | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Using Terracotta with ehcache for non-serialized cache objects

    Terracotta | 5 years ago | sagandhi
    net.sf.ehcache.CacheException: java.io.NotSerializableException: net.sf.ehcache.Cache
  2. 0

    Ehcache with terracotta for non serialized cache objects

    Terracotta | 5 years ago | sagandhi
    net.sf.ehcache.CacheException: java.io.NotSerializableException: net.sf.ehcache.Cache

    Root Cause Analysis

    1. net.sf.ehcache.CacheException

      java.io.NotSerializableException: net.sf.ehcache.Cache

      at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createTimestampedValue()
    2. org.terracotta.modules
      ClusteredSafeStore.put
      1. org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createTimestampedValue(ValueModeHandlerSerialization.java:68)
      2. org.terracotta.modules.ehcache.store.ValueModeHandlerHibernate.createTimestampedValue(ValueModeHandlerHibernate.java:6)
      3. org.terracotta.modules.ehcache.store.ClusteredStore.putInternal(ClusteredStore.java:343)
      4. org.terracotta.modules.ehcache.store.ClusteredStore.put(ClusteredStore.java:309)
      5. org.terracotta.modules.ehcache.store.ClusteredSafeStore.put(ClusteredSafeStore.java:695)
      5 frames