2016-09-27 12:25:23,864 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (Thread-248) ISPN000136: Error executing command GetKeyValueCommand, writing keys []: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=11}, status=3} is not in a valid state to be invoking cache operations on. at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:395) at org.infinispan.interceptors.TxInterceptor.enlistIfNeeded(TxInterceptor.java:351) at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:345) at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:331) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113) at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) at org.infinispan.statetransfer.StateTransferInterceptor.visitReadCommand(StateTransferInterceptor.java:177) at org.infinispan.statetransfer.StateTransferInterceptor.visitGetKeyValueCommand(StateTransferInterceptor.java:154) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:114) at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:83) at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113) at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:335) at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:411) at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:403) at org.infinispan.cache.impl.AbstractDelegatingCache.get(AbstractDelegatingCache.java:286) at org.wildfly.clustering.server.registry.CacheRegistry.getEntry(CacheRegistry.java:128) at org.wildfly.clustering.web.infinispan.session.InfinispanRouteLocator.locate(InfinispanRouteLocator.java:58) at org.wildfly.clustering.web.undertow.session.DistributableSessionIdentifierCodec.encode(DistributableSessionIdentifierCodec.java:48) at org.wildfly.extension.undertow.session.CodecSessionConfig.clearSession(CodecSessionConfig.java:51) at io.undertow.servlet.spec.ServletContextImpl$ServletContextSessionConfig.clearSession(ServletContextImpl.java:1075) at org.wildfly.clustering.web.undertow.session.DistributableSession.invalidate(DistributableSession.java:202) at io.undertow.servlet.spec.HttpSessionImpl.invalidate(HttpSessionImpl.java:198) at org.test.servlet.MainServlet$Deleter.run(MainServlet.java:46) at java.lang.Thread.run(Thread.java:745) 2016-09-27 12:25:23,868 ERROR [stderr] (Thread-248) Exception in thread "Thread-248" java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=11}, status=3} is not in a valid state to be invoking cache operations on. 2016-09-27 12:25:23,868 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:395) 2016-09-27 12:25:23,868 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.TxInterceptor.enlistIfNeeded(TxInterceptor.java:351) 2016-09-27 12:25:23,868 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:345) 2016-09-27 12:25:23,868 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:331) 2016-09-27 12:25:23,868 ERROR [stderr] (Thread-248) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) 2016-09-27 12:25:23,868 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) 2016-09-27 12:25:23,868 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113) 2016-09-27 12:25:23,868 ERROR [stderr] (Thread-248) at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.statetransfer.StateTransferInterceptor.visitReadCommand(StateTransferInterceptor.java:177) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.statetransfer.StateTransferInterceptor.visitGetKeyValueCommand(StateTransferInterceptor.java:154) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:114) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:83) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85) 2016-09-27 12:25:23,869 ERROR [stderr] (Thread-248) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:335) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:411) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:403) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.infinispan.cache.impl.AbstractDelegatingCache.get(AbstractDelegatingCache.java:286) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.wildfly.clustering.server.registry.CacheRegistry.getEntry(CacheRegistry.java:128) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.wildfly.clustering.web.infinispan.session.InfinispanRouteLocator.locate(InfinispanRouteLocator.java:58) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.wildfly.clustering.web.undertow.session.DistributableSessionIdentifierCodec.encode(DistributableSessionIdentifierCodec.java:48) 2016-09-27 12:25:23,870 ERROR [stderr] (Thread-248) at org.wildfly.extension.undertow.session.CodecSessionConfig.clearSession(CodecSessionConfig.java:51) 2016-09-27 12:25:23,871 ERROR [stderr] (Thread-248) at io.undertow.servlet.spec.ServletContextImpl$ServletContextSessionConfig.clearSession(ServletContextImpl.java:1075) 2016-09-27 12:25:23,871 ERROR [stderr] (Thread-248) at org.wildfly.clustering.web.undertow.session.DistributableSession.invalidate(DistributableSession.java:202) 2016-09-27 12:25:23,871 ERROR [stderr] (Thread-248) at io.undertow.servlet.spec.HttpSessionImpl.invalidate(HttpSessionImpl.java:198) 2016-09-27 12:25:23,871 ERROR [stderr] (Thread-248) at org.test.servlet.MainServlet$Deleter.run(MainServlet.java:46) 2016-09-27 12:25:23,871 ERROR [stderr] (Thread-248) at java.lang.Thread.run(Thread.java:745)