-
Bug
-
Resolution: Done
-
Blocker
-
7.0.0.ER5
-
None
We hit NPE during failback in HA scenario with replicated journal in dedicated HA topology which breaks HA.
Test scenario:
Start 1st EAP 7 server with Artemis configured as live
Start 2nd EAP 7 server with Artemis configured as backup
Send 2000 messages to in InQueue to live
Start 3rd EAP 7 server with RA configured to connecto to live and deploy MDB which receives messages from InQueue and sends a new message to OutQueue
When MDB is processing messages then cleanly shutdown live server -> MDB failovers to backup
After a while start live server again -> MDB failbacks to live
After MDB processed all messages receive all messages from OutQueue
Expected result:
There should 2000 messages received from OutQueue. No duplicated or lost messages. No unfinished XA transactions.
Actual result:
During failback Artemis in 1st EAP 7 server did not activated. There NPE in its server log:
13:01:45,952 ERROR [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ224000: Failure in initialisation: java.lang.NullPointerException at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.loadPreparedTransactions(JournalStorageManager.java:2179) [artemis-server-1.1.0.redhat-7.jar:1.1.0.redhat-7] at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.loadMessageJournal(JournalStorageManager.java:1558) [artemis-server-1.1.0.redhat-7.jar:1.1.0.redhat-7] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:1701) [artemis-server-1.1.0.redhat-7.jar:1.1.0.redhat-7] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1595) [artemis-server-1.1.0.redhat-7.jar:1.1.0.redhat-7] at org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:249) [artemis-server-1.1.0.redhat-7.jar:1.1.0.redhat-7] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_71]
Issue is under investigation. This issue was hit only with EAP 7.0.0.ER5. There is no 100% reproducer.
- is blocked by
-
JBEAP-3577 Upgrade Artemis to 1.1.0.wildfly-014
- Closed
- is related to
-
ARTEMIS-422 Loading...