-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.2.0.GA
-
None
-
1
-
Release Notes
-
-
+
-
Previously, if you configured a slave broker to use a shared store and scaledown in a cluster, you could encounter an exception on the slave if the master broker went offline. This issue is resolved.
-
Documented as Resolved Issue
-
Verified in a release
-
-
AMQ Broker 1839, AMQ Broker 1842, AMQ Broker 1845, AMQ Broker 0219, AMQ Broker 0519, AMQ Broker 1119
Using the following configuration on the slave where server1-connector points to another
broker in the broker cluster.
<ha-policy> <shared-store> <slave> <failover-on-shutdown>true</failover-on-shutdown> <restart-backup>true</restart-backup> <scale-down> <connectors> <connector-ref>server1-connector</connector-ref> </connectors> </scale-down> </slave> </shared-store> </ha-policy>
I am getting the following NullPointerException when the slave tries to activate.
2018-09-03 20:45:12,970 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.lang.NullPointerException at org.apache.activemq.artemis.core.server.impl.BackupRecoveryJournalLoader.postLoad(BackupRecoveryJournalLoader.java:90) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(AbstractJournalStorageManager.java:1191) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:2621) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:2376) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.run(SharedStoreBackupActivation.java:90) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$ActivationThread.run(ActiveMQServerImpl.java:3127) [artemis-server-2.6.1.amq-720008.jar:2.6.1.amq-720008]
- is cloned by
-
ENTMQBR-3570 [AMQ 7.2, shared store, scale down] NullPointer exception when slave activates and tries to scale down
-
- Closed
-