Getting a "Failed to change channel state to ReadyForWriting : java.util.ConcurrentModificationException" error message with AMQ Broker HA Cluster
Issue
After configuring HA Cluster in Red Hat AMQ Broker, when starting Primary and Secondary nodes, it displays several WARN messages in artemis.log
2023-02-01 15:41:01,988 WARN [org.apache.activemq.artemis.core.client] AMQ212072: Failed to change channel state to ReadyForWriting : java.util.ConcurrentModificationException
at java.base/java.util.ArrayList.forEach(ArrayList.java:1543) [java.base:]
at org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnection.fireReady(NettyConnection.java:171) [artemis-core-client-2.21.0.redhat-00025.jar:2.21.0.redhat-00025]
at org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptor$Listener.connectionReadyForWrites(NettyAcceptor.java:988) [artemis-server-2.21.0.redhat-00025.jar:2.21.0.redhat-00025]
at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelWritabilityChanged(ActiveMQChannelHandler.java:65) [artemis-core-client-2.21.0.redhat-00025.jar:2.21.0.redhat-00025]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelWritabilityChanged(AbstractChannelHandlerContext.java:441) [netty-transport-4.1.75.Final-redhat-00001.jar:4.1.75.Final-redhat-00001]
Environment
- Red Hat AMQ Broker
- 7.10.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.