Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-7140

ActiveMQXAException: Cannot start, there is already a xid XidImpl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Undefined
    • None
    • AMQ 7.10.0.GA
    • None
    • False
    • None
    • False

    Description

      In the customer environment after starting a cluster of 8 amq brokers when the client applications try to send and receive messages following warnings are thrown:

      2022-09-14 01:05:58,671 WARN [org.apache.activemq.artemis.core.server] Errors occurred during the buffering operation : java.lang.IllegalStateException: Disposed
      at org.apache.activemq.state.ConnectionState.checkShutdown(ConnectionState.java:134) [activemq-client-5.11.0.redhat-630516.jar:5.11.0.redhat-630516]
      at org.apache.activemq.state.ConnectionState.addSession(ConnectionState.java:104) [activemq-client-5.11.0.redhat-630516.jar:5.11.0.redhat-630516]
      at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection$CommandProcessor.processAddSession(OpenWireConnection.java:1465) [artemis-openwire-protocol-2.21.0-PATCH-3221.jar:2.21.0-PATCH-3221]
      at org.apache.activemq.command.SessionInfo.visit(SessionInfo.java:66) [activemq-client-5.11.0.redhat-630516.jar:5.11.0.redhat-630516]
      at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.act(OpenWireConnection.java:368) [artemis-openwire-protocol-2.21.0-PATCH-3221.jar:2.21.0-PATCH-3221]
      at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.bufferReceived(OpenWireConnection.java:311) [artemis-openwire-protocol-2.21.0-PATCH-3221.jar:2.21.0-PATCH-3221]
      at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:693) [artemis-server-2.21.0-PATCH-3221.jar:2.21.0-PATCH-3221]
      at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73) [artemis-core-client-2.21.0-PATCH-3221.jar:2.21.0-PATCH-3221]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1372) [netty-handler-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1235) [netty-handler-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1284) [netty-handler-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) [netty-codec-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) [netty-codec-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) [netty-codec-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:480) [netty-transport-classes-epoll-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378) [netty-transport-classes-epoll-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) [netty-common-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
      at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) 
      [artemis-commons-2.21.0-PATCH-3221.jar:]

       

      2022-09-14 04:49:37,955 WARN [org.apache.activemq.artemis.core.server] Errors occurred during the buffering operation : org.apache.activemq.artemis.core.exception.ActiveMQXAException: Cannot start, there is already a xid XidImpl (1230951432 bq:49.48.46.50.53.52.46.49.56.53.46.49.56.56.46.116.109.49.48.49.48.54.51 formatID:1096044365 gtxid:49.48.46.50.53.52.46.49.56.53.46.49.56.56.46.116.109.49.56.53.50.57.48.48.48.48.50 base64:MTAuMjU0LjE4NS4xODgudG0xMDEwNjMxMC4yNTQuMTg1LjE4OC50bTE4NTI5MDAwMDIy5JVB
      at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.xaStart(ServerSessionImpl.java:1607) [artemis-server-2.21.0-PATCH-3221.jar:2.21.0-PATCH-3221]
      at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection$CommandProcessor.processBeginTransaction(OpenWireConnection.java:1478) [artemis-openwire-protocol-2.21.0-PATCH-3221.jar:2.21.0-PATCH-3221]
      at org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:94) [activemq-client-5.11.0.redhat-630516.jar:5.11.0.redhat-630516]
      at org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.act(OpenWireConnection.java:368) [artemis-openwire-protocol-2.21.0-PATCH-3221.jar:2.21.0-PATCH-3221]
      at org.apache.activemq.artemis.utils.actors.ThresholdActor.doTask(ThresholdActor.java:67) [artemis-commons-2.21.0-PATCH-3221.jar:]
      at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:69) [artemis-commons-2.21.0-PATCH-3221.jar:]
      at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:56) [artemis-commons-2.21.0-PATCH-3221.jar:]
      at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.21.0-PATCH-3221.jar:]
      at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:69) [artemis-commons-2.21.0-PATCH-3221.jar:]
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [java.base:]
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [java.base:]
      at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.21.0-PATCH-3221.jar:]

      Attachments

        Activity

          People

            rhn-support-jbertram Justin Bertram
            rhn-support-shchavan Shrikant Chavan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: