net.sf.ehcache.config.InvalidConfigurationException: Errors: Terracotta clustered caches must be nonstop when rejoin is enabled. Invalid cache: myCache

Terracotta | jagan510 | 6 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

    Rejoin: Newbie here please help me to write sample program on rejoin.

    Terracotta | 6 years ago | jagan510
    net.sf.ehcache.config.InvalidConfigurationException: Errors: Terracotta clustered caches must be nonstop when rejoin is enabled. Invalid cache: myCache

    Root Cause Analysis

    1. net.sf.ehcache.config.InvalidConfigurationException

      Errors: Terracotta clustered caches must be nonstop when rejoin is enabled. Invalid cache: myCache

      at net.sf.ehcache.CacheManager.validateCacheConfigs()
    2. Ehcache
      CacheManager.<init>
      1. net.sf.ehcache.CacheManager.validateCacheConfigs(CacheManager.java:426)
      2. net.sf.ehcache.CacheManager.validateConfiguration(CacheManager.java:383)
      3. net.sf.ehcache.CacheManager.init(CacheManager.java:311)
      4. net.sf.ehcache.CacheManager.<init>(CacheManager.java:237)
      4 frames
    3. com.ivy.terracotta
      SampleRejoin2.main
      1. com.ivy.terracotta.features.SampleRejoin2.main(SampleRejoin2.java:13)
      1 frame