[ 
https://issues.apache.org/jira/browse/ARTEMIS-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533971#comment-15533971
 ] 

Damien Hollis commented on ARTEMIS-761:
---------------------------------------

The problem is kind of random - so probably related to timing.

I don't know why I didn't notice before that it is our code calling 
{{removeAddressSettings}}.  When we start up a spring managed 
{{MessageListener}} we do some updating of the AddressSettings to make sure 
they are in the correct state.  I guess we are calling the 
{{removeAddressSettings}} methods on Artemis before it is ready - is there a 
way to tell when it is ready?

> Caused by: java.lang.IllegalStateException: Cannot find add info 2148856738
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-761
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-761
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.4.0
>         Environment: Linux and Windows
>            Reporter: Damien Hollis
>
> I added a comment on https://issues.apache.org/jira/browse/ARTEMIS-390 but 
> you may not have seen it as it is closed.  
> From time to time we get an issue when starting up Artemis (embedded in a web 
> application). However, on restarting the server, the problem disappears.
> {noformat}
> Caused by: java.lang.IllegalStateException: Cannot find add info 2148856738
>         at 
> org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecord(JournalImpl.java:793)
>         at 
> org.apache.activemq.artemis.core.journal.impl.JournalBase.appendDeleteRecord(JournalBase.java:206)
>         at 
> org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecord(JournalImpl.java:79)
>         at 
> org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.deleteAddressSetting(AbstractJournalStorageManager.java:826)
>         at 
> org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.removeAddressSettings(ActiveMQServerControlImpl.java:1756)
> {noformat}
> We also had a similar problem when we upgraded from Artemis 1.3.0 to 1.4.0 
> but in that case our only option was to delete the data directories - luckily 
> we were just testing and this was not a big issue for us but it would be in 
> production.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to