[
https://issues.apache.org/jira/browse/ARTEMIS-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15534219#comment-15534219
]
Damien Hollis commented on ARTEMIS-761:
---------------------------------------
Further to this, I can replicate this quite frequently in our integration tests:
{noformat}
Caused by: java.lang.IllegalStateException: Cannot find add info 2147484888
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)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
at
com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
at javax.management.StandardMBean.invoke(StandardMBean.java:405)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at
javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:298)
at com.sun.proxy.$Proxy277.removeAddressSettings(Unknown Source)
at
ArtemisManagementBeanImpl.removeAddressSettings(ArtemisManagementBeanImpl.java:162)
at
AbstractErrorHandlingMessageListener.onStart(AbstractErrorHandlingMessageListener.java:444)
{noformat}
If I delete the data directory the problem will be fixed. It is likely that I
just killed the integration tests on the previous run, so maybe things are in
an unexpected state.
Note: we use Spring to start Artemis and the MessageListener and Artemis is
always started before the MessageListener.
> 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)