java.lang.IllegalStateException: Cache 'default-host' is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by sangram konde, 1 year ago
Cache 'default-host' is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.
via jboss.org by Unknown author, 2 years ago
Cache 'org.jboss.test.clusterbench.ejb.stateful.RemoteStatefulSBImpl' is in 'STOPPING' state and this is an invocation not belonging to an on-going transaction, so it does not accept new invocations. Either restart it or recreate the cache container.
via https://bugzilla.redhat.com/bugzilla/ by Richard Janík, 1 year ago
Default cache is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.
via redhat.com by Unknown author, 1 year ago
Default cache is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.
via redhat.com by Unknown author, 1 year ago
Default cache is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.
java.lang.IllegalStateException: Cache 'default-host' is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:91)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:73)
at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:32)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:70)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:79)
at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:32)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:70)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:333)
at org.infinispan.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1306)
at org.infinispan.CacheImpl.putIfAbsentInternal(CacheImpl.java:903)
at org.infinispan.CacheImpl.putIfAbsent(CacheImpl.java:893)
at org.infinispan.CacheImpl.putIfAbsent(CacheImpl.java:1366)
at org.infinispan.CacheImpl.putIfAbsent(CacheImpl.java:245)
at org.infinispan.AbstractDelegatingCache.putIfAbsent(AbstractDelegatingCache.java:231)
at org.jboss.as.clustering.infinispan.invoker.Creator$CreateOperation.invoke(Creator.java:32)
at org.jboss.as.clustering.infinispan.invoker.SimpleCacheInvoker.invoke(SimpleCacheInvoker.java:34)
at org.wildfly.clustering.web.infinispan.sso.coarse.CoarseSSOFactory.createValue(CoarseSSOFactory.java:65)
at org.wildfly.clustering.web.infinispan.sso.coarse.CoarseSSOFactory.createValue(CoarseSSOFactory.java:38)
at org.wildfly.clustering.web.infinispan.sso.InfinispanSSOManager.createSSO(InfinispanSSOManager.java:43)
at io.undertow.security.impl.SingleSignOnAuthenticationMechanism$ResponseListener.wrap(SingleSignOnAuthenticationMechanism.java:122)
at io.undertow.security.impl.SingleSignOnAuthenticationMechanism$ResponseListener.wrap(SingleSignOnAuthenticationMechanism.java:115)
at io.undertow.server.HttpServerExchange$WrapperStreamSinkConduitFactory.create(HttpServerExchange.java:2017)
at io.undertow.servlet.spec.ServletOutputStreamImpl.close(ServletOutputStreamImpl.java:619)
at io.undertow.servlet.spec.HttpServletResponseImpl.closeStreamAndWriter(HttpServletResponseImpl.java:451)
at io.undertow.servlet.core.ServletBlockingHttpExchange.close(ServletBlockingHttpExchange.java:72)
at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1404)
at io.undertow.server.AbstractServerConnection$CloseSetter.handleEvent(AbstractServerConnection.java:294)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.javla:92)
at org.xnio.StreamConnection.invokeCloseListener(StreamConnection.java:80)
at org.xnio.Connection.writeClosed(Connection.java:117)
at org.xnio.nio.AbstractNioStreamConnection.writeClosed(AbstractNioStreamConnection.java:47)
at org.xnio.nio.NioSocketConduit.terminateWrites(NioSocketConduit.java:179)
at org.xnio.nio.NioSocketConduit.truncateWrites(NioSocketConduit.java:189)
at org.xnio.conduits.ConduitStreamSinkChannel.close(ConduitStreamSinkChannel.java:186)
at org.xnio.IoUtils.safeClose(IoUtils.java:134)
at org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.forceTermination(WriteReadyHandler.java:57)
at org.xnio.nio.NioSocketConduit.forceTermination(NioSocketConduit.java:105)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:490)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.