org.ehcache.StateTransitionException: org.ehcache.clustered.client.internal.EhcacheEntityCreationException: Unable to create entity for cluster id cachemanager: another client owns the maintenance lease

GitHub | kedar031 | 5 months ago
  1. 0

    Multiple clients using auto-create in parallel hits EhcacheEntityCreationException

    GitHub | 5 months ago | kedar031
    org.ehcache.StateTransitionException: org.ehcache.clustered.client.internal.EhcacheEntityCreationException: Unable to create entity for cluster id cachemanager: another client owns the maintenance lease

    Root Cause Analysis

    1. org.ehcache.clustered.client.internal.EhcacheEntityCreationException

      Unable to create entity for cluster id cachemanager: another client owns the maintenance lease

      at org.ehcache.clustered.client.internal.EhcacheClientEntityFactory.create()
    2. org.ehcache.clustered
      DefaultClusteringService.start
      1. org.ehcache.clustered.client.internal.EhcacheClientEntityFactory.create(EhcacheClientEntityFactory.java:88)
      2. org.ehcache.clustered.client.internal.service.DefaultClusteringService.start(DefaultClusteringService.java:125)
      3. org.ehcache.clustered.client.internal.service.DefaultClusteringService.start(DefaultClusteringService.java:140)
      3 frames
    3. org.ehcache.core
      EhcacheManager.init
      1. org.ehcache.core.internal.service.ServiceLocator.startAllServices(ServiceLocator.java:306)
      2. org.ehcache.core.EhcacheManager.init(EhcacheManager.java:557)
      3. org.ehcache.core.StatusTransitioner$Transition.failed(StatusTransitioner.java:235)
      4. org.ehcache.core.EhcacheManager.init(EhcacheManager.java:585)
      4 frames
    4. org.ehcache.config
      CacheManagerBuilder.build
      1. org.ehcache.config.builders.CacheManagerBuilder.build(CacheManagerBuilder.java:72)
      1 frame
    5. com.terracotta.qa
      MultipleClientsTest.testBulkOps
      1. com.terracotta.qa.ehcache.test.MultipleClientsTest.testBulkOps(MultipleClientsTest.java:162)
      1 frame
    6. byteman-bmunit
      BMNGAbstractRunner.run
      1. org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner.run(BMNGAbstractRunner.java:58)
      1 frame