-
Bug
-
Resolution: Done
-
Blocker
-
7.0.0.DR11
-
None
Sometimes happens that during failback JMS producer can get java.lang.IllegalStateException during producer.send(message):
java.lang.IllegalStateException: Cannot send a packet while channel is doing failover
at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:242)
at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:201)
at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext.sendInitialChunkOnLargeMessage(ActiveMQSessionContext.java:358)
at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.sendInitialLargeMessageHeader(ClientProducerImpl.java:339)
at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.largeMessageSendStreamed(ClientProducerImpl.java:518)
at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.largeMessageSendBuffered(ClientProducerImpl.java:414)
at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.largeMessageSend(ClientProducerImpl.java:333)
at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:263)
at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:124)
at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.doSendx(ActiveMQMessageProducer.java:476)
at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:172)
at org.jboss.qa.hornetq.apps.clients.ProducerClientAck.sendMessage(ProducerClientAck.java:174)
at org.jboss.qa.hornetq.apps.clients.ProducerClientAck.run(ProducerClientAck.java:116)
This happened if failback-delay was set to 10s. There were 2 servers configured configured in dedicated HA topology with shared store.
IllegalStateException should be never thrown from producer.send().
- is blocked by
-
JBEAP-2499 Upgrade Artemis to 1.1.0.wildfly-011
- Closed
- is related to
-
JBEAP-1982 Unable to announce backup in dedicated topology with shared store
- Closed
-
JBEAP-1991 Failback in replicated dedicated topology does not work
- Closed
- relates to
-
ARTEMIS-242 Loading...