You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Roy Cohen (Jira)" <ji...@apache.org> on 2022/05/12 19:06:00 UTC

[jira] [Updated] (ARTEMIS-3828) Looking for recovery procedure for ARTEMIS-1764

     [ https://issues.apache.org/jira/browse/ARTEMIS-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roy Cohen updated ARTEMIS-3828:
-------------------------------
    Description: 
Hello

One of the brokers in our production system is failing to initialise due to ARTEMIS-1764

I understand this has been fixed long ago, however unfortunately we are running on version 1.3 still and not in a position to upgrade quickly. Are there any work arounds you can perhaps suggest to restore the broker (using cli tools maybe) without loosing the data ?

Any help would be much appreciated.
{code:java}
2022-05-12 16:10:11,060 ERROR [org.apache.activemq.artemis.core.server] (main) AMQ224000: Failure in initialisation: java.lang.IllegalStateException: Cannot find queue with id 80
        at org.apache.activemq.artemis.core.server.impl.PostOfficeJournalLoader.handlePreparedAcknowledge(PostOfficeJournalLoader.java:281) [artemis-server-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadPreparedTransactions(AbstractJournalStorageManager.java:1649) [artemis-server-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(AbstractJournalStorageManager.java:1167) [artemis-server-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:2054) [artemis-server-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1927) [artemis-server-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation.run(SharedNothingLiveActivation.java:100) [artemis-server-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.core.server.impl.ColocatedActivation.run(ColocatedActivation.java:108) [artemis-server-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:427) [artemis-server-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:394) [artemis-jms-server-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:65) [artemis-cli-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:83) [artemis-cli-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:110) [artemis-cli-1.3.0.jar:1.3.0]
        at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:72) [artemis-cli-1.3.0.jar:1.3.0]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_191]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_191]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_191]
        at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_191]
        at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:122) [artemis-boot.jar:1.3.0]
        at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:45) [artemis-boot.jar:1.3.0]{code}
 

  was:
Hello

One of the brokers in our production system is failing to initialise due to ARTEMIS-1764

I understand this has been fixed long ago, however unfortunately we are running on version 1.3 still and not in a position to upgrade quickly. Are there any work arounds you can perhaps suggest to restore the broker (using cli tools maybe) without loosing the data ?

Any help would be much appreciated.

 

 


> Looking for recovery procedure for ARTEMIS-1764
> -----------------------------------------------
>
>                 Key: ARTEMIS-3828
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3828
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>            Reporter: Roy Cohen
>            Priority: Major
>
> Hello
> One of the brokers in our production system is failing to initialise due to ARTEMIS-1764
> I understand this has been fixed long ago, however unfortunately we are running on version 1.3 still and not in a position to upgrade quickly. Are there any work arounds you can perhaps suggest to restore the broker (using cli tools maybe) without loosing the data ?
> Any help would be much appreciated.
> {code:java}
> 2022-05-12 16:10:11,060 ERROR [org.apache.activemq.artemis.core.server] (main) AMQ224000: Failure in initialisation: java.lang.IllegalStateException: Cannot find queue with id 80
>         at org.apache.activemq.artemis.core.server.impl.PostOfficeJournalLoader.handlePreparedAcknowledge(PostOfficeJournalLoader.java:281) [artemis-server-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadPreparedTransactions(AbstractJournalStorageManager.java:1649) [artemis-server-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(AbstractJournalStorageManager.java:1167) [artemis-server-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:2054) [artemis-server-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1927) [artemis-server-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation.run(SharedNothingLiveActivation.java:100) [artemis-server-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.core.server.impl.ColocatedActivation.run(ColocatedActivation.java:108) [artemis-server-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:427) [artemis-server-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:394) [artemis-jms-server-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:65) [artemis-cli-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:83) [artemis-cli-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:110) [artemis-cli-1.3.0.jar:1.3.0]
>         at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:72) [artemis-cli-1.3.0.jar:1.3.0]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_191]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_191]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_191]
>         at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_191]
>         at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:122) [artemis-boot.jar:1.3.0]
>         at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:45) [artemis-boot.jar:1.3.0]{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)