org.ehcache.CachePersistenceException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 1275#233292961
    via GitHub by kedar031
    ,
    • org.ehcache.CachePersistenceException: Cannot destroy clustered tier 'clustered-cache' on terracotta://localhost:9510 at org.ehcache.clustered.client.internal.service.DefaultClusteringService.destroy(DefaultClusteringService.java:313) at org.ehcache.core.EhcacheManager.destroyPersistenceSpace(EhcacheManager.java:666) at org.ehcache.core.EhcacheManager.destroyCache(EhcacheManager.java:659) at com.terracotta.qa.ehcache.test.MultipleClientsTest.dummyTest(MultipleClientsTest.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:200) at org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner.run(BMNGAbstractRunner.java:58) at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212) at org.testng.internal.Invoker.invokeMethod(Invoker.java:689) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) at org.testng.SuiteRunner.run(SuiteRunner.java:254) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:74) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) Caused by: org.ehcache.clustered.client.internal.service.ClusteredTierDestructionException: Error destroying clustered tier 'clustered-cache' at org.ehcache.clustered.client.internal.EhcacheClientEntity.destroyCache(EhcacheClientEntity.java:206) at org.ehcache.clustered.client.internal.service.DefaultClusteringService.destroy(DefaultClusteringService.java:311) ... 34 more Caused by: org.ehcache.clustered.common.internal.exceptions.ResourceBusyException: Can not destroy clustered tier 'clustered-cache': in use by 1 clients at org.ehcache.clustered.common.internal.exceptions.ResourceBusyException.withClientStackTrace(ResourceBusyException.java:43) at org.ehcache.clustered.common.internal.exceptions.ResourceBusyException.withClientStackTrace(ResourceBusyException.java:22) at org.ehcache.clustered.common.internal.messages.ResponseCodec.decode(ResponseCodec.java:117) at org.ehcache.clustered.common.internal.messages.EhcacheCodec.decodeResponse(EhcacheCodec.java:67) at org.ehcache.clustered.common.internal.messages.EhcacheCodec.decodeResponse(EhcacheCodec.java:22) at com.tc.object.EntityClientEndpointImpl$InvocationBuilderImpl$1.getWithTimeout(EntityClientEndpointImpl.java:174) at com.tc.object.EntityClientEndpointImpl$InvocationBuilderImpl$1.getWithTimeout(EntityClientEndpointImpl.java:156) at org.ehcache.clustered.client.internal.EhcacheClientEntity.waitFor(EhcacheClientEntity.java:276) at org.ehcache.clustered.client.internal.EhcacheClientEntity.invokeInternal(EhcacheClientEntity.java:240) at org.ehcache.clustered.client.internal.EhcacheClientEntity.destroyCache(EhcacheClientEntity.java:204) ... 35 more Caused by: org.ehcache.clustered.common.internal.exceptions.ResourceBusyException: Can not destroy clustered tier 'clustered-cache': in use by 1 clients at org.ehcache.clustered.server.EhcacheActiveEntity.destroyServerStore(EhcacheActiveEntity.java:842) at org.ehcache.clustered.server.EhcacheActiveEntity.invokeLifeCycleOperation(EhcacheActiveEntity.java:359) at org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:307) at org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:89) at com.tc.objectserver.entity.ManagedEntityImpl.lambda$performAction$38(ManagedEntityImpl.java:610) at com.tc.objectserver.entity.ManagedEntityImpl.runWithHelper(ManagedEntityImpl.java:259) at com.tc.objectserver.entity.ManagedEntityImpl.performAction(ManagedEntityImpl.java:610) at com.tc.objectserver.entity.ManagedEntityImpl.invoke(ManagedEntityImpl.java:358) at com.tc.objectserver.entity.ManagedEntityImpl.lambda$processInvokeRequest$31(ManagedEntityImpl.java:204) at com.tc.objectserver.entity.ManagedEntityImpl$SchedulingRunnable.run(ManagedEntityImpl.java:837) at com.tc.objectserver.entity.RequestProcessor$EntityRequest.invoke(RequestProcessor.java:219) at com.tc.objectserver.entity.RequestProcessor$EntityRequest.run(RequestProcessor.java:211) at com.tc.objectserver.entity.RequestProcessorHandler.handleEvent(RequestProcessorHandler.java:27) at com.tc.objectserver.entity.RequestProcessorHandler.handleEvent(RequestProcessorHandler.java:23) at com.tc.async.impl.StageQueueImpl$HandledContext.runWithHandler(StageQueueImpl.java:502) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:197)
    No Bugmate found.