[Red Hat JIRA] (WFLY-14276) ELYTRON - HTTP sessions not shared among HA cluster members
by Alessandro Moscatelli (Jira)
[ https://issues.redhat.com/browse/WFLY-14276?page=com.atlassian.jira.plugi... ]
Alessandro Moscatelli updated WFLY-14276:
-----------------------------------------
Priority: Critical (was: Major)
> ELYTRON - HTTP sessions not shared among HA cluster members
> -----------------------------------------------------------
>
> Key: WFLY-14276
> URL: https://issues.redhat.com/browse/WFLY-14276
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Security
> Affects Versions: 21.0.0.Final
> Reporter: Alessandro Moscatelli
> Assignee: Paul Ferraro
> Priority: Critical
> Attachments: standalone-full-ha.new.xml
>
>
> This is a regression caused by switching from Picketbox to Elytron.
> When I log on a node belonging to an HA cluster, I see several errors like these :
> [0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:272) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1141) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1099) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:266) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:40) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable$ExternalizerWriter.writeObject(ExternalizerObjectTable.java:142) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:139) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.JBossByteBufferMarshaller.writeTo(JBossByteBufferMarshaller.java:92) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller.write(ByteBufferMarshaller.java:55) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValue.getBuffer(ByteBufferMarshalledValue.java:59) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:37) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ExternalizerMarshaller.writeTo(ExternalizerMarshaller.java:69) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.TypedObjectMarshaller.writeTo(TypedObjectMarshaller.java:57) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.MarshallerProvider.writeTo(MarshallerProvider.java:46) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:84) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:41) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller.writeTo(ProtoStreamByteBufferMarshaller.java:83) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.protostream.ProtoStreamMarshaller.writeObject(ProtoStreamMarshaller.java:76) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:107) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:101) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:76) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:149) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:102) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:257) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.toWrappedStream(ProtobufUtil.java:194) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:133) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:145) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:638) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:627) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:618) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:384) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.writeTo(PutKeyValueCommand.java:83) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:77) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:65) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.remote.SingleRpcCommand.writeTo(SingleRpcCommand.java:52) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:142) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:138) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:181) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:174) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.objectToBuffer(GlobalMarshaller.java:302) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.marshallRequest(JGroupsTransport.java:1061) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.sendCommand(JGroupsTransport.java:1244) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeCommand(JGroupsTransport.java:913) at org.infinispan@11.0.4.Final//org.infinispan.remoting.rpc.RpcManagerImpl.invokeCommand(RpcManagerImpl.java:173) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.primaryReturnHandler(BaseDistributionInterceptor.java:310) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.handleNonTxWriteCommand(BaseDistributionInterceptor.java:236) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutKeyValueCommand(NonTxDistributionInterceptor.java:108) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:206) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitPutKeyValueCommand(CacheLoaderInterceptor.java:143) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:739) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:342) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:69) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:188) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:307) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:251) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:96) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:246) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:210) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:298) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:102) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:84) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1268) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:678) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:537) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:711) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.wildfly.clustering.ee.infinispan@21.0.0.Final//org.wildfly.clustering.ee.infinispan.CacheEntryMutator.mutate(CacheEntryMutator.java:59) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.coarse.CoarseSessionAttributes.close(CoarseSessionAttributes.java:100) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.CompositeSession.close(CompositeSession.java:78) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.ValidSession.close(ValidSession.java:88) at org.wildfly.clustering.web.undertow@21.0.0.Final//org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:90) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:960) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:590) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:328) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:174) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.ComponentStartupCountdownHandler.handleRequest(ComponentStartupCountdownHandler.java:51) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:399) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at com.stijndewitt.undertow.cors//com.stijndewitt.undertow.cors.Filter.handleRequest(Filter.java:676) at io.undertow.core@2.2.2.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) at io.undertow.core@2.2.2.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: an exception which occurred: in field org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer.securityIdentity in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object java.util.concurrent.ConcurrentHashMap@a4c648b6
> I also observe HTTP sessions are not shared between nodes of the cluster.
> JSESSIONID are not recognized by other nodes.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months
[Red Hat JIRA] (WFLY-14276) ELYTRON - HTTP sessions not shared among HA cluster members
by Alessandro Moscatelli (Jira)
[ https://issues.redhat.com/browse/WFLY-14276?page=com.atlassian.jira.plugi... ]
Alessandro Moscatelli updated WFLY-14276:
-----------------------------------------
Steps to Reproduce:
I reproduce the problem when authenticating on a node belonging to an HA cluster.
I am also Elytron Security AND Jaspi Application Security Domain.
was:
I reproduce the problem when authenticating on a node belonging to an HA cluster.
I am also using Elytron Security.
> ELYTRON - HTTP sessions not shared among HA cluster members
> -----------------------------------------------------------
>
> Key: WFLY-14276
> URL: https://issues.redhat.com/browse/WFLY-14276
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Security
> Affects Versions: 21.0.0.Final
> Reporter: Alessandro Moscatelli
> Assignee: Paul Ferraro
> Priority: Major
> Attachments: standalone-full-ha.new.xml
>
>
> This is a regression caused by switching from Picketbox to Elytron.
> When I log on a node belonging to an HA cluster, I see several errors like these :
> [0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:272) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1141) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1099) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:266) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:40) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable$ExternalizerWriter.writeObject(ExternalizerObjectTable.java:142) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:139) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.JBossByteBufferMarshaller.writeTo(JBossByteBufferMarshaller.java:92) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller.write(ByteBufferMarshaller.java:55) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValue.getBuffer(ByteBufferMarshalledValue.java:59) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:37) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ExternalizerMarshaller.writeTo(ExternalizerMarshaller.java:69) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.TypedObjectMarshaller.writeTo(TypedObjectMarshaller.java:57) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.MarshallerProvider.writeTo(MarshallerProvider.java:46) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:84) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:41) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller.writeTo(ProtoStreamByteBufferMarshaller.java:83) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.protostream.ProtoStreamMarshaller.writeObject(ProtoStreamMarshaller.java:76) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:107) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:101) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:76) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:149) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:102) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:257) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.toWrappedStream(ProtobufUtil.java:194) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:133) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:145) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:638) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:627) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:618) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:384) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.writeTo(PutKeyValueCommand.java:83) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:77) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:65) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.remote.SingleRpcCommand.writeTo(SingleRpcCommand.java:52) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:142) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:138) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:181) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:174) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.objectToBuffer(GlobalMarshaller.java:302) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.marshallRequest(JGroupsTransport.java:1061) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.sendCommand(JGroupsTransport.java:1244) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeCommand(JGroupsTransport.java:913) at org.infinispan@11.0.4.Final//org.infinispan.remoting.rpc.RpcManagerImpl.invokeCommand(RpcManagerImpl.java:173) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.primaryReturnHandler(BaseDistributionInterceptor.java:310) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.handleNonTxWriteCommand(BaseDistributionInterceptor.java:236) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutKeyValueCommand(NonTxDistributionInterceptor.java:108) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:206) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitPutKeyValueCommand(CacheLoaderInterceptor.java:143) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:739) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:342) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:69) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:188) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:307) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:251) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:96) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:246) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:210) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:298) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:102) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:84) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1268) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:678) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:537) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:711) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.wildfly.clustering.ee.infinispan@21.0.0.Final//org.wildfly.clustering.ee.infinispan.CacheEntryMutator.mutate(CacheEntryMutator.java:59) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.coarse.CoarseSessionAttributes.close(CoarseSessionAttributes.java:100) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.CompositeSession.close(CompositeSession.java:78) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.ValidSession.close(ValidSession.java:88) at org.wildfly.clustering.web.undertow@21.0.0.Final//org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:90) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:960) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:590) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:328) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:174) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.ComponentStartupCountdownHandler.handleRequest(ComponentStartupCountdownHandler.java:51) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:399) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at com.stijndewitt.undertow.cors//com.stijndewitt.undertow.cors.Filter.handleRequest(Filter.java:676) at io.undertow.core@2.2.2.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) at io.undertow.core@2.2.2.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: an exception which occurred: in field org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer.securityIdentity in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object java.util.concurrent.ConcurrentHashMap@a4c648b6
> I also observe HTTP sessions are not shared between nodes of the cluster.
> JSESSIONID are not recognized by other nodes.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months
[Red Hat JIRA] (WFLY-14276) ELYTRON - HTTP sessions not shared among HA cluster members
by Alessandro Moscatelli (Jira)
[ https://issues.redhat.com/browse/WFLY-14276?page=com.atlassian.jira.plugi... ]
Alessandro Moscatelli updated WFLY-14276:
-----------------------------------------
Description:
This is a regression caused by switching from Picketbox to Elytron.
When I log on a node belonging to an HA cluster, I see several errors like these :
[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:272) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1141) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1099) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:266) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:40) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable$ExternalizerWriter.writeObject(ExternalizerObjectTable.java:142) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:139) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.JBossByteBufferMarshaller.writeTo(JBossByteBufferMarshaller.java:92) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller.write(ByteBufferMarshaller.java:55) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValue.getBuffer(ByteBufferMarshalledValue.java:59) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:37) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ExternalizerMarshaller.writeTo(ExternalizerMarshaller.java:69) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.TypedObjectMarshaller.writeTo(TypedObjectMarshaller.java:57) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.MarshallerProvider.writeTo(MarshallerProvider.java:46) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:84) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:41) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller.writeTo(ProtoStreamByteBufferMarshaller.java:83) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.protostream.ProtoStreamMarshaller.writeObject(ProtoStreamMarshaller.java:76) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:107) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:101) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:76) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:149) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:102) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:257) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.toWrappedStream(ProtobufUtil.java:194) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:133) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:145) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:638) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:627) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:618) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:384) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.writeTo(PutKeyValueCommand.java:83) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:77) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:65) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.remote.SingleRpcCommand.writeTo(SingleRpcCommand.java:52) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:142) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:138) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:181) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:174) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.objectToBuffer(GlobalMarshaller.java:302) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.marshallRequest(JGroupsTransport.java:1061) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.sendCommand(JGroupsTransport.java:1244) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeCommand(JGroupsTransport.java:913) at org.infinispan@11.0.4.Final//org.infinispan.remoting.rpc.RpcManagerImpl.invokeCommand(RpcManagerImpl.java:173) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.primaryReturnHandler(BaseDistributionInterceptor.java:310) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.handleNonTxWriteCommand(BaseDistributionInterceptor.java:236) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutKeyValueCommand(NonTxDistributionInterceptor.java:108) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:206) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitPutKeyValueCommand(CacheLoaderInterceptor.java:143) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:739) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:342) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:69) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:188) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:307) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:251) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:96) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:246) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:210) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:298) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:102) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:84) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1268) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:678) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:537) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:711) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.wildfly.clustering.ee.infinispan@21.0.0.Final//org.wildfly.clustering.ee.infinispan.CacheEntryMutator.mutate(CacheEntryMutator.java:59) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.coarse.CoarseSessionAttributes.close(CoarseSessionAttributes.java:100) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.CompositeSession.close(CompositeSession.java:78) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.ValidSession.close(ValidSession.java:88) at org.wildfly.clustering.web.undertow@21.0.0.Final//org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:90) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:960) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:590) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:328) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:174) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.ComponentStartupCountdownHandler.handleRequest(ComponentStartupCountdownHandler.java:51) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:399) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at com.stijndewitt.undertow.cors//com.stijndewitt.undertow.cors.Filter.handleRequest(Filter.java:676) at io.undertow.core@2.2.2.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) at io.undertow.core@2.2.2.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: an exception which occurred: in field org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer.securityIdentity in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object java.util.concurrent.ConcurrentHashMap@a4c648b6
I also observe HTTP sessions are not shared between nodes of the cluster.
JSESSIONID are not recognized by other nodes.
was:
When I log on a node belonging to an HA cluster, I see several errors like these :
[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:272) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1141) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1099) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:266) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:40) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable$ExternalizerWriter.writeObject(ExternalizerObjectTable.java:142) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:139) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.JBossByteBufferMarshaller.writeTo(JBossByteBufferMarshaller.java:92) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller.write(ByteBufferMarshaller.java:55) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValue.getBuffer(ByteBufferMarshalledValue.java:59) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:37) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ExternalizerMarshaller.writeTo(ExternalizerMarshaller.java:69) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.TypedObjectMarshaller.writeTo(TypedObjectMarshaller.java:57) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.MarshallerProvider.writeTo(MarshallerProvider.java:46) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:84) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:41) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller.writeTo(ProtoStreamByteBufferMarshaller.java:83) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.protostream.ProtoStreamMarshaller.writeObject(ProtoStreamMarshaller.java:76) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:107) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:101) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:76) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:149) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:102) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:257) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.toWrappedStream(ProtobufUtil.java:194) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:133) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:145) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:638) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:627) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:618) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:384) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.writeTo(PutKeyValueCommand.java:83) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:77) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:65) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.remote.SingleRpcCommand.writeTo(SingleRpcCommand.java:52) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:142) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:138) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:181) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:174) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.objectToBuffer(GlobalMarshaller.java:302) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.marshallRequest(JGroupsTransport.java:1061) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.sendCommand(JGroupsTransport.java:1244) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeCommand(JGroupsTransport.java:913) at org.infinispan@11.0.4.Final//org.infinispan.remoting.rpc.RpcManagerImpl.invokeCommand(RpcManagerImpl.java:173) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.primaryReturnHandler(BaseDistributionInterceptor.java:310) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.handleNonTxWriteCommand(BaseDistributionInterceptor.java:236) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutKeyValueCommand(NonTxDistributionInterceptor.java:108) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:206) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitPutKeyValueCommand(CacheLoaderInterceptor.java:143) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:739) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:342) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:69) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:188) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:307) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:251) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:96) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:246) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:210) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:298) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:102) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:84) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1268) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:678) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:537) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:711) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.wildfly.clustering.ee.infinispan@21.0.0.Final//org.wildfly.clustering.ee.infinispan.CacheEntryMutator.mutate(CacheEntryMutator.java:59) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.coarse.CoarseSessionAttributes.close(CoarseSessionAttributes.java:100) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.CompositeSession.close(CompositeSession.java:78) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.ValidSession.close(ValidSession.java:88) at org.wildfly.clustering.web.undertow@21.0.0.Final//org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:90) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:960) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:590) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:328) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:174) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.ComponentStartupCountdownHandler.handleRequest(ComponentStartupCountdownHandler.java:51) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:399) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at com.stijndewitt.undertow.cors//com.stijndewitt.undertow.cors.Filter.handleRequest(Filter.java:676) at io.undertow.core@2.2.2.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) at io.undertow.core@2.2.2.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: an exception which occurred: in field org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer.securityIdentity in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object java.util.concurrent.ConcurrentHashMap@a4c648b6
I also observe HTTP sessions are not shared between nodes of the cluster.
JSESSIONID are not recognized by other nodes.
> ELYTRON - HTTP sessions not shared among HA cluster members
> -----------------------------------------------------------
>
> Key: WFLY-14276
> URL: https://issues.redhat.com/browse/WFLY-14276
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Security
> Affects Versions: 21.0.0.Final
> Reporter: Alessandro Moscatelli
> Assignee: Paul Ferraro
> Priority: Major
> Attachments: standalone-full-ha.new.xml
>
>
> This is a regression caused by switching from Picketbox to Elytron.
> When I log on a node belonging to an HA cluster, I see several errors like these :
> [0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:272) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1141) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1099) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:266) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:40) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable$ExternalizerWriter.writeObject(ExternalizerObjectTable.java:142) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:139) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.JBossByteBufferMarshaller.writeTo(JBossByteBufferMarshaller.java:92) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller.write(ByteBufferMarshaller.java:55) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValue.getBuffer(ByteBufferMarshalledValue.java:59) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:37) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ExternalizerMarshaller.writeTo(ExternalizerMarshaller.java:69) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.TypedObjectMarshaller.writeTo(TypedObjectMarshaller.java:57) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.MarshallerProvider.writeTo(MarshallerProvider.java:46) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:84) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:41) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller.writeTo(ProtoStreamByteBufferMarshaller.java:83) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.protostream.ProtoStreamMarshaller.writeObject(ProtoStreamMarshaller.java:76) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:107) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:101) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:76) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:149) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:102) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:257) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.toWrappedStream(ProtobufUtil.java:194) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:133) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:145) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:638) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:627) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:618) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:384) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.writeTo(PutKeyValueCommand.java:83) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:77) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:65) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.remote.SingleRpcCommand.writeTo(SingleRpcCommand.java:52) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:142) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:138) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:181) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:174) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.objectToBuffer(GlobalMarshaller.java:302) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.marshallRequest(JGroupsTransport.java:1061) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.sendCommand(JGroupsTransport.java:1244) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeCommand(JGroupsTransport.java:913) at org.infinispan@11.0.4.Final//org.infinispan.remoting.rpc.RpcManagerImpl.invokeCommand(RpcManagerImpl.java:173) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.primaryReturnHandler(BaseDistributionInterceptor.java:310) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.handleNonTxWriteCommand(BaseDistributionInterceptor.java:236) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutKeyValueCommand(NonTxDistributionInterceptor.java:108) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:206) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitPutKeyValueCommand(CacheLoaderInterceptor.java:143) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:739) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:342) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:69) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:188) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:307) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:251) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:96) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:246) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:210) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:298) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:102) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:84) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1268) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:678) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:537) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:711) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.wildfly.clustering.ee.infinispan@21.0.0.Final//org.wildfly.clustering.ee.infinispan.CacheEntryMutator.mutate(CacheEntryMutator.java:59) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.coarse.CoarseSessionAttributes.close(CoarseSessionAttributes.java:100) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.CompositeSession.close(CompositeSession.java:78) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.ValidSession.close(ValidSession.java:88) at org.wildfly.clustering.web.undertow@21.0.0.Final//org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:90) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:960) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:590) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:328) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:174) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.ComponentStartupCountdownHandler.handleRequest(ComponentStartupCountdownHandler.java:51) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:399) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at com.stijndewitt.undertow.cors//com.stijndewitt.undertow.cors.Filter.handleRequest(Filter.java:676) at io.undertow.core@2.2.2.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) at io.undertow.core@2.2.2.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: an exception which occurred: in field org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer.securityIdentity in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object java.util.concurrent.ConcurrentHashMap@a4c648b6
> I also observe HTTP sessions are not shared between nodes of the cluster.
> JSESSIONID are not recognized by other nodes.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months
[Red Hat JIRA] (WFLY-14276) ELYTRON - HTTP sessions not shared among HA cluster members
by Alessandro Moscatelli (Jira)
[ https://issues.redhat.com/browse/WFLY-14276?page=com.atlassian.jira.plugi... ]
Alessandro Moscatelli updated WFLY-14276:
-----------------------------------------
Summary: ELYTRON - HTTP sessions not shared among HA cluster members (was: java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity)
> ELYTRON - HTTP sessions not shared among HA cluster members
> -----------------------------------------------------------
>
> Key: WFLY-14276
> URL: https://issues.redhat.com/browse/WFLY-14276
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Security
> Affects Versions: 21.0.0.Final
> Reporter: Alessandro Moscatelli
> Assignee: Paul Ferraro
> Priority: Major
> Attachments: standalone-full-ha.new.xml
>
>
> When I log on a node belonging to an HA cluster, I see several errors like these :
> [0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:272) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1141) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1099) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:266) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:40) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable$ExternalizerWriter.writeObject(ExternalizerObjectTable.java:142) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:139) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.JBossByteBufferMarshaller.writeTo(JBossByteBufferMarshaller.java:92) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller.write(ByteBufferMarshaller.java:55) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValue.getBuffer(ByteBufferMarshalledValue.java:59) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:37) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ExternalizerMarshaller.writeTo(ExternalizerMarshaller.java:69) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.TypedObjectMarshaller.writeTo(TypedObjectMarshaller.java:57) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.MarshallerProvider.writeTo(MarshallerProvider.java:46) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:84) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:41) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller.writeTo(ProtoStreamByteBufferMarshaller.java:83) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.protostream.ProtoStreamMarshaller.writeObject(ProtoStreamMarshaller.java:76) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:107) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:101) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:76) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:149) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:102) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:257) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.toWrappedStream(ProtobufUtil.java:194) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:133) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:145) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:638) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:627) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:618) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:384) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.writeTo(PutKeyValueCommand.java:83) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:77) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:65) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.remote.SingleRpcCommand.writeTo(SingleRpcCommand.java:52) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:142) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:138) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:181) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:174) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.objectToBuffer(GlobalMarshaller.java:302) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.marshallRequest(JGroupsTransport.java:1061) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.sendCommand(JGroupsTransport.java:1244) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeCommand(JGroupsTransport.java:913) at org.infinispan@11.0.4.Final//org.infinispan.remoting.rpc.RpcManagerImpl.invokeCommand(RpcManagerImpl.java:173) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.primaryReturnHandler(BaseDistributionInterceptor.java:310) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.handleNonTxWriteCommand(BaseDistributionInterceptor.java:236) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutKeyValueCommand(NonTxDistributionInterceptor.java:108) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:206) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitPutKeyValueCommand(CacheLoaderInterceptor.java:143) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:739) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:342) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:69) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:188) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:307) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:251) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:96) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:246) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:210) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:298) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:102) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:84) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1268) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:678) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:537) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:711) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.wildfly.clustering.ee.infinispan@21.0.0.Final//org.wildfly.clustering.ee.infinispan.CacheEntryMutator.mutate(CacheEntryMutator.java:59) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.coarse.CoarseSessionAttributes.close(CoarseSessionAttributes.java:100) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.CompositeSession.close(CompositeSession.java:78) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.ValidSession.close(ValidSession.java:88) at org.wildfly.clustering.web.undertow@21.0.0.Final//org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:90) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:960) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:590) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:328) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:174) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.ComponentStartupCountdownHandler.handleRequest(ComponentStartupCountdownHandler.java:51) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:399) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at com.stijndewitt.undertow.cors//com.stijndewitt.undertow.cors.Filter.handleRequest(Filter.java:676) at io.undertow.core@2.2.2.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) at io.undertow.core@2.2.2.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: an exception which occurred: in field org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer.securityIdentity in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object java.util.concurrent.ConcurrentHashMap@a4c648b6
> I also observe HTTP sessions are not shared between nodes of the cluster.
> JSESSIONID are not recognized by other nodes.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months
[Red Hat JIRA] (WFLY-14276) java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity
by Alessandro Moscatelli (Jira)
[ https://issues.redhat.com/browse/WFLY-14276?page=com.atlassian.jira.plugi... ]
Alessandro Moscatelli edited comment on WFLY-14276 at 1/12/21 12:15 PM:
------------------------------------------------------------------------
I confirm this issue is related to Elytron.
Reverting back to Picketbox makes everything ok again.
This is somehow related to (read last comments) :
WFLY-4308 Proxies created via ContextService.createContextualProxy(...) are not Serializable - Red Hat Issue Tracker
I can't figure out how Elytron ever worked for Wildfly since org.wildfly.security.auth.server.SecurityIdentity is not serializable.
I can't switch to Elytron until this isn't fixed.
was (Author: alessandromoscatelli):
I confirm this issue is related to Elytron.
Reverting back to Picketbox makes everything ok again.
This is somehow related to :
[WFLY-4308] Proxies created via ContextService.createContextualProxy(...) are not Serializable - Red Hat Issue Tracker
I can't figure out how Elytron ever worked for Wildfly since org.wildfly.security.auth.server.SecurityIdentity is not serializable.
I can't switch to Elytron until this isn't fixed.
> java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity
> -----------------------------------------------------------------------------------
>
> Key: WFLY-14276
> URL: https://issues.redhat.com/browse/WFLY-14276
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Security
> Affects Versions: 21.0.0.Final
> Reporter: Alessandro Moscatelli
> Assignee: Paul Ferraro
> Priority: Major
> Attachments: standalone-full-ha.new.xml
>
>
> When I log on a node belonging to an HA cluster, I see several errors like these :
> [0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:272) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1141) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1099) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:266) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:40) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable$ExternalizerWriter.writeObject(ExternalizerObjectTable.java:142) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:139) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.JBossByteBufferMarshaller.writeTo(JBossByteBufferMarshaller.java:92) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller.write(ByteBufferMarshaller.java:55) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValue.getBuffer(ByteBufferMarshalledValue.java:59) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:37) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ExternalizerMarshaller.writeTo(ExternalizerMarshaller.java:69) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.TypedObjectMarshaller.writeTo(TypedObjectMarshaller.java:57) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.MarshallerProvider.writeTo(MarshallerProvider.java:46) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:84) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:41) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller.writeTo(ProtoStreamByteBufferMarshaller.java:83) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.protostream.ProtoStreamMarshaller.writeObject(ProtoStreamMarshaller.java:76) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:107) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:101) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:76) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:149) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:102) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:257) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.toWrappedStream(ProtobufUtil.java:194) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:133) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:145) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:638) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:627) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:618) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:384) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.writeTo(PutKeyValueCommand.java:83) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:77) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:65) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.remote.SingleRpcCommand.writeTo(SingleRpcCommand.java:52) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:142) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:138) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:181) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:174) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.objectToBuffer(GlobalMarshaller.java:302) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.marshallRequest(JGroupsTransport.java:1061) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.sendCommand(JGroupsTransport.java:1244) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeCommand(JGroupsTransport.java:913) at org.infinispan@11.0.4.Final//org.infinispan.remoting.rpc.RpcManagerImpl.invokeCommand(RpcManagerImpl.java:173) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.primaryReturnHandler(BaseDistributionInterceptor.java:310) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.handleNonTxWriteCommand(BaseDistributionInterceptor.java:236) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutKeyValueCommand(NonTxDistributionInterceptor.java:108) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:206) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitPutKeyValueCommand(CacheLoaderInterceptor.java:143) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:739) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:342) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:69) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:188) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:307) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:251) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:96) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:246) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:210) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:298) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:102) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:84) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1268) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:678) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:537) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:711) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.wildfly.clustering.ee.infinispan@21.0.0.Final//org.wildfly.clustering.ee.infinispan.CacheEntryMutator.mutate(CacheEntryMutator.java:59) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.coarse.CoarseSessionAttributes.close(CoarseSessionAttributes.java:100) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.CompositeSession.close(CompositeSession.java:78) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.ValidSession.close(ValidSession.java:88) at org.wildfly.clustering.web.undertow@21.0.0.Final//org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:90) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:960) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:590) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:328) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:174) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.ComponentStartupCountdownHandler.handleRequest(ComponentStartupCountdownHandler.java:51) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:399) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at com.stijndewitt.undertow.cors//com.stijndewitt.undertow.cors.Filter.handleRequest(Filter.java:676) at io.undertow.core@2.2.2.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) at io.undertow.core@2.2.2.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: an exception which occurred: in field org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer.securityIdentity in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object java.util.concurrent.ConcurrentHashMap@a4c648b6
> I also observe HTTP sessions are not shared between nodes of the cluster.
> JSESSIONID are not recognized by other nodes.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months
[Red Hat JIRA] (WFLY-14276) java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity
by Alessandro Moscatelli (Jira)
[ https://issues.redhat.com/browse/WFLY-14276?page=com.atlassian.jira.plugi... ]
Alessandro Moscatelli commented on WFLY-14276:
----------------------------------------------
I confirm this issue is related to Elytron.
Reverting back to Picketbox makes everything ok again.
This is somehow related to :
[WFLY-4308] Proxies created via ContextService.createContextualProxy(...) are not Serializable - Red Hat Issue Tracker
I can't figure out how Elytron ever worked for Wildfly since org.wildfly.security.auth.server.SecurityIdentity is not serializable.
I can't switch to Elytron until this isn't fixed.
> java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity
> -----------------------------------------------------------------------------------
>
> Key: WFLY-14276
> URL: https://issues.redhat.com/browse/WFLY-14276
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Security
> Affects Versions: 21.0.0.Final
> Reporter: Alessandro Moscatelli
> Assignee: Paul Ferraro
> Priority: Major
> Attachments: standalone-full-ha.new.xml
>
>
> When I log on a node belonging to an HA cluster, I see several errors like these :
> [0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity[0m[33m11:27:18,146 WARN [org.infinispan.PERSISTENCE] (default task-15) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.wildfly.security.auth.server.SecurityIdentity at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:272) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1141) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1099) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:266) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.util.MapExternalizer.writeObject(MapExternalizer.java:40) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable$ExternalizerWriter.writeObject(ExternalizerObjectTable.java:142) at org.jboss.marshalling.river@2.0.9.Final//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:139) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling@2.0.9.Final//org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.wildfly.clustering.marshalling.jboss@21.0.0.Final//org.wildfly.clustering.marshalling.jboss.JBossByteBufferMarshaller.writeTo(JBossByteBufferMarshaller.java:92) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller.write(ByteBufferMarshaller.java:55) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValue.getBuffer(ByteBufferMarshalledValue.java:59) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:63) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueExternalizer.writeObject(ByteBufferMarshalledValueExternalizer.java:37) at org.wildfly.clustering.marshalling.spi@21.0.0.Final//org.wildfly.clustering.marshalling.spi.ExternalizerProvider.writeObject(ExternalizerProvider.java:41) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ExternalizerMarshaller.writeTo(ExternalizerMarshaller.java:69) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.TypedObjectMarshaller.writeTo(TypedObjectMarshaller.java:57) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.MarshallerProvider.writeTo(MarshallerProvider.java:46) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:84) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.AnyMarshaller.writeTo(AnyMarshaller.java:41) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:105) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.writeTo(ProtobufUtil.java:110) at org.wildfly.clustering.marshalling.protostream@21.0.0.Final//org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller.writeTo(ProtoStreamByteBufferMarshaller.java:83) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.protostream.ProtoStreamMarshaller.writeObject(ProtoStreamMarshaller.java:76) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:107) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:101) at org.wildfly.clustering.infinispan.marshalling@21.0.0.Final//org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:76) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:149) at org.infinispan@11.0.4.Final//org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller.writeTo(MarshallableUserObject.java:102) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.impl.RawProtobufMarshallerDelegate.marshall(RawProtobufMarshallerDelegate.java:32) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:257) at org.infinispan.protostream@4.3.4.Final//org.infinispan.protostream.ProtobufUtil.toWrappedStream(ProtobufUtil.java:194) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:133) at org.infinispan@11.0.4.Final//org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:145) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:638) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:627) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:618) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:384) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.writeTo(PutKeyValueCommand.java:83) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:77) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:65) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26) at org.infinispan@11.0.4.Final//org.infinispan.commands.remote.SingleRpcCommand.writeTo(SingleRpcCommand.java:52) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:142) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:138) at org.infinispan@11.0.4.Final//org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:81) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:181) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:174) at org.infinispan@11.0.4.Final//org.infinispan.marshall.core.GlobalMarshaller.objectToBuffer(GlobalMarshaller.java:302) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.marshallRequest(JGroupsTransport.java:1061) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.sendCommand(JGroupsTransport.java:1244) at org.infinispan@11.0.4.Final//org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeCommand(JGroupsTransport.java:913) at org.infinispan@11.0.4.Final//org.infinispan.remoting.rpc.RpcManagerImpl.invokeCommand(RpcManagerImpl.java:173) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.primaryReturnHandler(BaseDistributionInterceptor.java:310) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:86) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.BaseDistributionInterceptor.handleNonTxWriteCommand(BaseDistributionInterceptor.java:236) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutKeyValueCommand(NonTxDistributionInterceptor.java:108) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:206) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitPutKeyValueCommand(CacheLoaderInterceptor.java:143) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:739) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:342) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:69) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:188) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:307) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:251) at org.infinispan@11.0.4.Final//org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:96) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:246) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:210) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59) at org.infinispan@11.0.4.Final//org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:63) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) at org.infinispan@11.0.4.Final//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:298) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:102) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:84) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1268) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:678) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:537) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:711) at org.infinispan@11.0.4.Final//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:449) at org.wildfly.clustering.ee.infinispan@21.0.0.Final//org.wildfly.clustering.ee.infinispan.CacheEntryMutator.mutate(CacheEntryMutator.java:59) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.coarse.CoarseSessionAttributes.close(CoarseSessionAttributes.java:100) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.CompositeSession.close(CompositeSession.java:78) at org.wildfly.clustering.web.cache@21.0.0.Final//org.wildfly.clustering.web.cache.session.ValidSession.close(ValidSession.java:88) at org.wildfly.clustering.web.undertow@21.0.0.Final//org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:90) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:960) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:590) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:328) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) at io.undertow.servlet@2.2.2.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:174) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.deployment.ComponentStartupCountdownHandler.handleRequest(ComponentStartupCountdownHandler.java:51) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104) at org.wildfly.extension.undertow@21.0.0.Final//org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:399) at io.undertow.core@2.2.2.Final//io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) at com.stijndewitt.undertow.cors//com.stijndewitt.undertow.cors.Filter.handleRequest(Filter.java:676) at io.undertow.core@2.2.2.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) at io.undertow.core@2.2.2.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) at java.base/java.lang.Thread.run(Thread.java:834)Caused by: an exception which occurred: in field org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer.securityIdentity in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object org.wildfly.elytron.web.undertow.server.servlet.ServletSecurityContextImpl$IdentityContainer@67a5b40d in object java.util.concurrent.ConcurrentHashMap@a4c648b6
> I also observe HTTP sessions are not shared between nodes of the cluster.
> JSESSIONID are not recognized by other nodes.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months
[Red Hat JIRA] (WFLY-14284) WildFly doesn't stop while waiting for PeriodicRecovery
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-14284?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFLY-14284:
-----------------------------------------
[~mmusgrov]
This is what looks like the key part of the thread dump:
First we have a thread doing a recovery scan:
{code}
"Periodic Recovery" - Thread t@115
java.lang.Thread.State: WAITING
at java.base(a)11.0.8/jdk.internal.misc.Unsafe.park(Native Method)
- parking to wait for <6a00decd> (a java.util.concurrent.CompletableFuture$Signaller)
at java.base@11.0.8/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at java.base@11.0.8/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1796)
at java.base@11.0.8/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3128)
at java.base@11.0.8/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1823)
at java.base@11.0.8/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1998)
at org.wildfly.http-client.transaction@1.0.21.Final//org.wildfly.httpclient.transaction.HttpRemoteTransactionPeer.recover(HttpRemoteTransactionPeer.java:98)
at org.wildfly.transaction.client@1.1.11.Final//org.wildfly.transaction.client.SubordinateXAResource.recover(SubordinateXAResource.java:213)
at org.wildfly.transaction.client@1.1.11.Final//org.wildfly.transaction.client.SubordinateXAResource.recover(SubordinateXAResource.java:209)
at org.jboss.jts//com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoveryFirstPass(XARecoveryModule.java:659)
at org.jboss.jts//com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:240)
- locked <45b75a72> (a com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule)
at org.jboss.jts//com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:182)
- locked <45b75a72> (a com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule)
at org.jboss.jts//com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:770)
at org.jboss.jts//com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:382)
{code}
And next we have a thread trying to do a shutdown trying to suspend the server first. But it blocks preSuspend until PeriodicRecovery.suspendScan no longer sees the current status as SCANNING.
{code}
"ServerService Thread Pool -- 37" - Thread t@65
java.lang.Thread.State: WAITING
at java.base(a)11.0.8/java.lang.Object.wait(Native Method)
- waiting on <15eaeba8> (a java.lang.Object)
at java.base@11.0.8/java.lang.Object.wait(Object.java:328)
at org.jboss.jts//com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.suspendScan(PeriodicRecovery.java:247)
at org.jboss.jts//com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple.trySuspendScan(RecoveryManagerImple.java:192)
at org.jboss.jts//com.arjuna.ats.arjuna.recovery.RecoveryManager.trySuspend(RecoveryManager.java:265)
at org.jboss.jts//com.arjuna.ats.arjuna.recovery.RecoveryManager.suspend(RecoveryManager.java:259)
at org.jboss.jts.integration//com.arjuna.ats.jbossatx.jta.RecoveryManagerService.suspend(RecoveryManagerService.java:79)
at org.jboss.as.transactions@20.0.1.Final//org.jboss.as.txn.suspend.RecoverySuspendController.preSuspend(RecoverySuspendController.java:42)
at org.jboss.as.server@12.0.3.Final//org.jboss.as.server.suspend.SuspendController.suspend(SuspendController.java:103)
- locked <2ef5626e> (a org.jboss.as.server.suspend.SuspendController)
at org.jboss.as.server@12.0.3.Final//org.jboss.as.server.operations.ServerDomainProcessShutdownHandler$1$1.handleResult(ServerDomainProcessShutdownHandler.java:100)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AbstractOperationContext$Step.invokeResultHandler(AbstractOperationContext.java:1533)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1515)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1472)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1445)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AbstractOperationContext$Step.access$400(AbstractOperationContext.java:1319)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:876)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AbstractOperationContext.executeDoneStage(AbstractOperationContext.java:862)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:769)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1413)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:429)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:246)
at org.jboss.as.controller(a)12.0.3.Final//org.jboss.as.controller.ModelControllerImpl$$Lambda$1124/0x0000000100eee840.run(Unknown Source)
at org.wildfly.security.elytron-private(a)1.12.1.Final//org.wildfly.security.auth.server.SecurityIdentity$$Lambda$1123/0x0000000100eef440.run(Unknown Source)
at org.wildfly.security.elytron-private@1.12.1.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:304)
at org.wildfly.security.elytron-private@1.12.1.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:246)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.remote.TransactionalProtocolOperationHandler.internalExecute(TransactionalProtocolOperationHandler.java:269)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler.doExecute(TransactionalProtocolOperationHandler.java:201)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$1.run(TransactionalProtocolOperationHandler.java:148)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$1.run(TransactionalProtocolOperationHandler.java:144)
at org.wildfly.security.elytron-private(a)1.12.1.Final//org.wildfly.security.auth.server.SecurityIdentity$$Lambda$1123/0x0000000100eef440.run(Unknown Source)
at org.wildfly.security.elytron-private@1.12.1.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:304)
at org.wildfly.security.elytron-private@1.12.1.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:198)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$2$1.get(TransactionalProtocolOperationHandler.java:172)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$2$1.get(TransactionalProtocolOperationHandler.java:163)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$Execution$1.execute(TransactionalProtocolOperationHandler.java:677)
at org.jboss.as.controller@12.0.3.Final//org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$2.execute(TransactionalProtocolOperationHandler.java:177)
at org.jboss.as.protocol@12.0.3.Final//org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
at org.jboss.as.protocol@12.0.3.Final//org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base@11.0.8/java.lang.Thread.run(Thread.java:834)
at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
{code}
So, two issues:
One is the more fundamental one for this particular report, which is why HttpRemoteTransactionPeer.recover won't complete.
The other is that the shutdown is blocked, with the block occurring in code that won't allow any suspend timeout provided by the user to be respected.
> WildFly doesn't stop while waiting for PeriodicRecovery
> -------------------------------------------------------
>
> Key: WFLY-14284
> URL: https://issues.redhat.com/browse/WFLY-14284
> Project: WildFly
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 20.0.1.Final
> Reporter: Adriano Teixeira de Souza
> Assignee: Michael Musgrove
> Priority: Major
> Attachments: thread-dump-stop-1.txt
>
>
> I'm testing wildfly 20.0.1 (and 21.0.2 was tested too) for replace our old version of Wildfly 10.
> it happens that frequently we have seen that the stop function of server does not work and we need to kill the process by manual operation on the OS.
> It sounds like a dead look.
> I attatch the thread dump on this.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months
[Red Hat JIRA] (WFLY-14284) WildFly doesn't stop while waiting for PeriodicRecovery
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-14284?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFLY-14284:
------------------------------------
Summary: WildFly doesn't stop while waiting for PeriodicRecovery (was: Wildfly doesn't stops)
> WildFly doesn't stop while waiting for PeriodicRecovery
> -------------------------------------------------------
>
> Key: WFLY-14284
> URL: https://issues.redhat.com/browse/WFLY-14284
> Project: WildFly
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 20.0.1.Final
> Reporter: Adriano Teixeira de Souza
> Assignee: Michael Musgrove
> Priority: Major
> Attachments: thread-dump-stop-1.txt
>
>
> I'm testing wildfly 20.0.1 (and 21.0.2 was tested too) for replace our old version of Wildfly 10.
> it happens that frequently we have seen that the stop function of server does not work and we need to kill the process by manual operation on the OS.
> It sounds like a dead look.
> I attatch the thread dump on this.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months
[Red Hat JIRA] (WFLY-14284) Wildfly doesn't stops
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-14284?page=com.atlassian.jira.plugi... ]
Brian Stansberry reassigned WFLY-14284:
---------------------------------------
Assignee: Michael Musgrove (was: Brian Stansberry)
> Wildfly doesn't stops
> ---------------------
>
> Key: WFLY-14284
> URL: https://issues.redhat.com/browse/WFLY-14284
> Project: WildFly
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 20.0.1.Final
> Reporter: Adriano Teixeira de Souza
> Assignee: Michael Musgrove
> Priority: Major
> Attachments: thread-dump-stop-1.txt
>
>
> I'm testing wildfly 20.0.1 (and 21.0.2 was tested too) for replace our old version of Wildfly 10.
> it happens that frequently we have seen that the stop function of server does not work and we need to kill the process by manual operation on the OS.
> It sounds like a dead look.
> I attatch the thread dump on this.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months
[Red Hat JIRA] (WFLY-14284) Wildfly doesn't stops
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-14284?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFLY-14284:
------------------------------------
Component/s: Transactions
> Wildfly doesn't stops
> ---------------------
>
> Key: WFLY-14284
> URL: https://issues.redhat.com/browse/WFLY-14284
> Project: WildFly
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 20.0.1.Final
> Reporter: Adriano Teixeira de Souza
> Assignee: Brian Stansberry
> Priority: Major
> Attachments: thread-dump-stop-1.txt
>
>
> I'm testing wildfly 20.0.1 (and 21.0.2 was tested too) for replace our old version of Wildfly 10.
> it happens that frequently we have seen that the stop function of server does not work and we need to kill the process by manual operation on the OS.
> It sounds like a dead look.
> I attatch the thread dump on this.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 8 months