-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.2.0.GA
-
None
When scaling down from broker1 to broker2, addresses that where dynamically created on broker1
and did not exist on broker2 gave the following exception on broker2 .
Resulted in the messages where gone from broker1 but did not appear on broker2.
2018-09-09 10:37:47,119 WARN [org.apache.activemq.artemis.core.server] AMQ222112: exception while retrieving attribute ID on queue.mytest_1: java.lang.IllegalStateException: Problem while retrieving attribute ID at org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl.getAttribute(ManagementServiceImpl.java:725) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl.handleMessage(ManagementServiceImpl.java:429) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.handleManagementMessage(ServerSessionImpl.java:1688) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1468) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1394) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1387) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onSessionSend(ServerSessionPacketHandler.java:668) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onMessagePacket(ServerSessionPacketHandler.java:265) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler$$Lambda$34/1480214365.onMessage(Unknown Source) at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33) [artemis-commons-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) [artemis-commons-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$3/1332210474.run(Unknown Source) at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) [artemis-commons-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.utils.actors.ProcessorBase$$Lambda$3/1332210474.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_20] at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.6.1.amq-720008.jar:2.6.1.amq-720008] Caused by: java.lang.IllegalArgumentException: AMQ119067: Cannot find resource with name queue.mytest_1 at org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl.getAttribute(ManagementServiceImpl.java:708) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] ... 18 more