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.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web25702

  • via Google Groups by sangram konde, 9 months 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 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.
  • Default cache is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.
  • Stack trace

    • 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.jboss.as.clustering.infinispan.invoker.RetryingCacheInvoker.invoke(RetryingCacheInvoker.java:82) 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 org.wildfly.clustering.web.undertow.sso.DistributableSingleSignOnManager.createSingleSignOn(DistributableSingleSignOnManager.java:70) 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.server.HttpServerExchange.getResponseChannel(HttpServerExchange.java:1167) 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 io.undertow.server.AbstractServerConnection$CloseSetter.handleEvent(AbstractServerConnection.java:275) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.javla:92)[xnio-api-3.2.2.Final.jar:3.2.2.Final] at org.xnio.StreamConnection.invokeCloseListener(StreamConnection.java:80)[xnio-api-3.2.2.Final.jar:3.2.2.Final] at org.xnio.Connection.writeClosed(Connection.java:117)[xnio-api-3.2.2.Final.jar:3.2.2.Final] at org.xnio.nio.AbstractNioStreamConnection.writeClosed(AbstractNioStreamConnection.java:47)[xnio-nio-3.2.2.Final.jar:3.2.2.Final] at org.xnio.nio.NioSocketConduit.terminateWrites(NioSocketConduit.java:179)[xnio-nio-3.2.2.Final.jar:3.2.2.Final] at org.xnio.nio.NioSocketConduit.truncateWrites(NioSocketConduit.java:189)[xnio-nio-3.2.2.Final.jar:3.2.2.Final] at org.xnio.conduits.ConduitStreamSinkChannel.close(ConduitStreamSinkChannel.java:186)[xnio-api-3.2.2.Final.jar:3.2.2.Final] at org.xnio.IoUtils.safeClose(IoUtils.java:134)[xnio-api-3.2.2.Final.jar:3.2.2.Final] at org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.forceTermination(WriteReadyHandler.java:57)[xnio-api-3.2.2.Final.jar:3.2.2.Final] at org.xnio.nio.NioSocketConduit.forceTermination(NioSocketConduit.java:105)[xnio-nio-3.2.2.Final.jar:3.2.2.Final] at org.xnio.nio.WorkerThread.run(WorkerThread.java:490)[xnio-nio-3.2.2.Final.jar:3.2.2.Final]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago