You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "goldi (JIRA)" <ji...@apache.org> on 2007/11/19 20:34:26 UTC

[jira] Created: (AMQ-1498) Broker doens't start anymore!

Broker doens't start anymore!
-----------------------------

                 Key: AMQ-1498
                 URL: https://issues.apache.org/activemq/browse/AMQ-1498
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.0.0
            Reporter: goldi


Killing ActiveMQ-Broker and trying to restart it I got the following exception:

java.io.IOException: Recovery Failed: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
        at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
        at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
        at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
        at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
        at org.apache.activemq.broker.MutableBrokerFilter.start(MutableBrokerFilter.java:163)
        at org.apache.activemq.broker.BrokerService.start(BrokerService.java:422)
        at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:46)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
        at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
        at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:91)
        at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:51)
        at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
        at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
        at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:112)
        at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
        at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
        at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:104)
        at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
        at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:76)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
        at org.apache.activemq.console.Main.main(Main.java:106)
Caused by: java.lang.IllegalArgumentException: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
        at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:336)
        at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:427)
        at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
        at org.apache.activemq.broker.TransactionBroker$1.recover(TransactionBroker.java:100)
        at org.apache.activemq.store.amq.AMQTransactionStore.recover(AMQTransactionStore.java:196)
        at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:92)
        ... 32 more
2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  BrokerService                  - ActiveMQ Message Broker (localhost, null) is shutting down
2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  TransportConnector             - Connector openwire Stopped
2007-11-16 14:50:54,329 [MQ ShutdownHook] ERROR AMQPersistenceAdapter          - Could not stop service: AMQPersistenceAdapter(C:\ESBActiveMQ5.0\Active_Broker\bin\..\data\localhost). Reason: java.lang.NullPointerException
java.lang.NullPointerException
        at org.apache.activemq.store.amq.AMQTxOperation.writeExternal(AMQTxOperation.java:113)
        at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:60)
        at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:34)
        at org.apache.activemq.kaha.impl.data.SyncDataFileWriter.storeItem(SyncDataFileWriter.java:58)
        at org.apache.activemq.kaha.impl.data.DataManagerImpl.storeDataItem(DataManagerImpl.java:151)
        at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:516)
        at org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:301)
        at org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePreparedState(KahaReferenceStoreAdapter.java:270)
        at org.apache.activemq.store.amq.AMQPersistenceAdapter.stop(AMQPersistenceAdapter.java:263)
        at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
        at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:457)
        at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1586)

with the result that the Broker don't starts anymore (Trying it 3 times). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQ-1498) Broker doens't start anymore!

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-1498.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 6.0.0)
                   5.4.0
                   5.3.1
         Assignee: Dejan Bosanac  (was: Rob Davies)

This should be resolved now on the trunk (and 5.3 branch)

> Broker doens't start anymore!
> -----------------------------
>
>                 Key: AMQ-1498
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1498
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: goldi
>            Assignee: Dejan Bosanac
>             Fix For: 5.3.1, 5.4.0
>
>
> Killing ActiveMQ-Broker and trying to restart it I got the following exception:
> java.io.IOException: Recovery Failed: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.MutableBrokerFilter.start(MutableBrokerFilter.java:163)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:422)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:46)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:91)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:51)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:112)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:104)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:76)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> Caused by: java.lang.IllegalArgumentException: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:336)
>         at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:427)
>         at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
>         at org.apache.activemq.broker.TransactionBroker$1.recover(TransactionBroker.java:100)
>         at org.apache.activemq.store.amq.AMQTransactionStore.recover(AMQTransactionStore.java:196)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:92)
>         ... 32 more
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  BrokerService                  - ActiveMQ Message Broker (localhost, null) is shutting down
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  TransportConnector             - Connector openwire Stopped
> 2007-11-16 14:50:54,329 [MQ ShutdownHook] ERROR AMQPersistenceAdapter          - Could not stop service: AMQPersistenceAdapter(C:\ESBActiveMQ5.0\Active_Broker\bin\..\data\localhost). Reason: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.activemq.store.amq.AMQTxOperation.writeExternal(AMQTxOperation.java:113)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:60)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:34)
>         at org.apache.activemq.kaha.impl.data.SyncDataFileWriter.storeItem(SyncDataFileWriter.java:58)
>         at org.apache.activemq.kaha.impl.data.DataManagerImpl.storeDataItem(DataManagerImpl.java:151)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:516)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:301)
>         at org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePreparedState(KahaReferenceStoreAdapter.java:270)
>         at org.apache.activemq.store.amq.AMQPersistenceAdapter.stop(AMQPersistenceAdapter.java:263)
>         at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>         at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:457)
>         at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1586)
> with the result that the Broker don't starts anymore (Trying it 3 times). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQ-1498) Broker doens't start anymore!

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56175#action_56175 ] 

Dejan Bosanac commented on AMQ-1498:
------------------------------------

I made some improvements in this area with SVN revision http://svn.apache.org/viewvc?view=revision&revision=885488
I didn't however managed to reproduce this issue fully. If someone can give the latest trunk a chance and share more details on the usecase when this exception is encountered (xa transactions, failover, crash???) I will revisit it and try to make a reproducible test case.

> Broker doens't start anymore!
> -----------------------------
>
>                 Key: AMQ-1498
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1498
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: goldi
>            Assignee: Rob Davies
>             Fix For: 6.0.0
>
>
> Killing ActiveMQ-Broker and trying to restart it I got the following exception:
> java.io.IOException: Recovery Failed: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.MutableBrokerFilter.start(MutableBrokerFilter.java:163)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:422)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:46)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:91)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:51)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:112)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:104)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:76)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> Caused by: java.lang.IllegalArgumentException: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:336)
>         at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:427)
>         at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
>         at org.apache.activemq.broker.TransactionBroker$1.recover(TransactionBroker.java:100)
>         at org.apache.activemq.store.amq.AMQTransactionStore.recover(AMQTransactionStore.java:196)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:92)
>         ... 32 more
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  BrokerService                  - ActiveMQ Message Broker (localhost, null) is shutting down
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  TransportConnector             - Connector openwire Stopped
> 2007-11-16 14:50:54,329 [MQ ShutdownHook] ERROR AMQPersistenceAdapter          - Could not stop service: AMQPersistenceAdapter(C:\ESBActiveMQ5.0\Active_Broker\bin\..\data\localhost). Reason: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.activemq.store.amq.AMQTxOperation.writeExternal(AMQTxOperation.java:113)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:60)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:34)
>         at org.apache.activemq.kaha.impl.data.SyncDataFileWriter.storeItem(SyncDataFileWriter.java:58)
>         at org.apache.activemq.kaha.impl.data.DataManagerImpl.storeDataItem(DataManagerImpl.java:151)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:516)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:301)
>         at org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePreparedState(KahaReferenceStoreAdapter.java:270)
>         at org.apache.activemq.store.amq.AMQPersistenceAdapter.stop(AMQPersistenceAdapter.java:263)
>         at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>         at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:457)
>         at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1586)
> with the result that the Broker don't starts anymore (Trying it 3 times). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AMQ-1498) Broker doens't start anymore!

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies reassigned AMQ-1498:
-------------------------------

    Assignee: Rob Davies

> Broker doens't start anymore!
> -----------------------------
>
>                 Key: AMQ-1498
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1498
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: goldi
>            Assignee: Rob Davies
>
> Killing ActiveMQ-Broker and trying to restart it I got the following exception:
> java.io.IOException: Recovery Failed: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.MutableBrokerFilter.start(MutableBrokerFilter.java:163)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:422)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:46)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:91)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:51)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:112)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:104)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:76)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> Caused by: java.lang.IllegalArgumentException: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:336)
>         at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:427)
>         at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
>         at org.apache.activemq.broker.TransactionBroker$1.recover(TransactionBroker.java:100)
>         at org.apache.activemq.store.amq.AMQTransactionStore.recover(AMQTransactionStore.java:196)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:92)
>         ... 32 more
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  BrokerService                  - ActiveMQ Message Broker (localhost, null) is shutting down
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  TransportConnector             - Connector openwire Stopped
> 2007-11-16 14:50:54,329 [MQ ShutdownHook] ERROR AMQPersistenceAdapter          - Could not stop service: AMQPersistenceAdapter(C:\ESBActiveMQ5.0\Active_Broker\bin\..\data\localhost). Reason: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.activemq.store.amq.AMQTxOperation.writeExternal(AMQTxOperation.java:113)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:60)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:34)
>         at org.apache.activemq.kaha.impl.data.SyncDataFileWriter.storeItem(SyncDataFileWriter.java:58)
>         at org.apache.activemq.kaha.impl.data.DataManagerImpl.storeDataItem(DataManagerImpl.java:151)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:516)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:301)
>         at org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePreparedState(KahaReferenceStoreAdapter.java:270)
>         at org.apache.activemq.store.amq.AMQPersistenceAdapter.stop(AMQPersistenceAdapter.java:263)
>         at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>         at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:457)
>         at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1586)
> with the result that the Broker don't starts anymore (Trying it 3 times). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQ-1498) Broker doens't start anymore!

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-1498.
-----------------------------

    Fix Version/s: 5.1.0
       Resolution: Fixed

> Broker doens't start anymore!
> -----------------------------
>
>                 Key: AMQ-1498
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1498
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: goldi
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>
>
> Killing ActiveMQ-Broker and trying to restart it I got the following exception:
> java.io.IOException: Recovery Failed: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.MutableBrokerFilter.start(MutableBrokerFilter.java:163)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:422)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:46)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:91)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:51)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:112)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:104)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:76)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> Caused by: java.lang.IllegalArgumentException: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:336)
>         at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:427)
>         at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
>         at org.apache.activemq.broker.TransactionBroker$1.recover(TransactionBroker.java:100)
>         at org.apache.activemq.store.amq.AMQTransactionStore.recover(AMQTransactionStore.java:196)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:92)
>         ... 32 more
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  BrokerService                  - ActiveMQ Message Broker (localhost, null) is shutting down
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  TransportConnector             - Connector openwire Stopped
> 2007-11-16 14:50:54,329 [MQ ShutdownHook] ERROR AMQPersistenceAdapter          - Could not stop service: AMQPersistenceAdapter(C:\ESBActiveMQ5.0\Active_Broker\bin\..\data\localhost). Reason: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.activemq.store.amq.AMQTxOperation.writeExternal(AMQTxOperation.java:113)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:60)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:34)
>         at org.apache.activemq.kaha.impl.data.SyncDataFileWriter.storeItem(SyncDataFileWriter.java:58)
>         at org.apache.activemq.kaha.impl.data.DataManagerImpl.storeDataItem(DataManagerImpl.java:151)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:516)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:301)
>         at org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePreparedState(KahaReferenceStoreAdapter.java:270)
>         at org.apache.activemq.store.amq.AMQPersistenceAdapter.stop(AMQPersistenceAdapter.java:263)
>         at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>         at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:457)
>         at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1586)
> with the result that the Broker don't starts anymore (Trying it 3 times). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQ-1498) Broker doens't start anymore!

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies updated AMQ-1498:
----------------------------

    Fix Version/s:     (was: 5.3.0)
                   6.0.0

> Broker doens't start anymore!
> -----------------------------
>
>                 Key: AMQ-1498
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1498
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: goldi
>            Assignee: Rob Davies
>             Fix For: 6.0.0
>
>
> Killing ActiveMQ-Broker and trying to restart it I got the following exception:
> java.io.IOException: Recovery Failed: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.MutableBrokerFilter.start(MutableBrokerFilter.java:163)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:422)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:46)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:91)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:51)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:112)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:104)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:76)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> Caused by: java.lang.IllegalArgumentException: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:336)
>         at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:427)
>         at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
>         at org.apache.activemq.broker.TransactionBroker$1.recover(TransactionBroker.java:100)
>         at org.apache.activemq.store.amq.AMQTransactionStore.recover(AMQTransactionStore.java:196)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:92)
>         ... 32 more
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  BrokerService                  - ActiveMQ Message Broker (localhost, null) is shutting down
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  TransportConnector             - Connector openwire Stopped
> 2007-11-16 14:50:54,329 [MQ ShutdownHook] ERROR AMQPersistenceAdapter          - Could not stop service: AMQPersistenceAdapter(C:\ESBActiveMQ5.0\Active_Broker\bin\..\data\localhost). Reason: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.activemq.store.amq.AMQTxOperation.writeExternal(AMQTxOperation.java:113)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:60)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:34)
>         at org.apache.activemq.kaha.impl.data.SyncDataFileWriter.storeItem(SyncDataFileWriter.java:58)
>         at org.apache.activemq.kaha.impl.data.DataManagerImpl.storeDataItem(DataManagerImpl.java:151)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:516)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:301)
>         at org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePreparedState(KahaReferenceStoreAdapter.java:270)
>         at org.apache.activemq.store.amq.AMQPersistenceAdapter.stop(AMQPersistenceAdapter.java:263)
>         at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>         at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:457)
>         at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1586)
> with the result that the Broker don't starts anymore (Trying it 3 times). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (AMQ-1498) Broker doens't start anymore!

Posted by "Julien Faissolle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Faissolle reopened AMQ-1498:
-----------------------------------


I am reopening this issue because I just had this problem in production on 5.1.0. I am unable to restart ActiveMQ with the following log :

{{
2008-07-02 09:25:56,731 [erSimpleAppMain] INFO  AMQPersistenceAdapter          - AMQStore starting using directory: ../../data/quark1
2008-07-02 09:25:56,762 [erSimpleAppMain] INFO  KahaStore                      - Kaha Store using data directory ../../data/quark1/kr-store/state
2008-07-02 09:25:56,811 [erSimpleAppMain] INFO  AMQPersistenceAdapter          - Active data files: []
2008-07-02 09:25:56,814 [erSimpleAppMain] WARN  AMQPersistenceAdapter          - The ReferenceStore is not valid - recovering ...
2008-07-02 09:25:56,843 [erSimpleAppMain] INFO  KahaStore                      - Kaha Store successfully deleted data directory ../../data/quark1/kr-store/data
2008-07-02 09:25:56,845 [erSimpleAppMain] INFO  AMQPersistenceAdapter          - Journal Recovery Started from: DataManager:(data-)
2008-07-02 09:25:56,876 [erSimpleAppMain] INFO  KahaStore                      - Kaha Store using data directory ../../data/quark1/kr-store/data
2008-07-02 09:26:29,189 [erSimpleAppMain] INFO  AMQPersistenceAdapter          - Recovered 348180 operations from redo log in 32.343 seconds.
2008-07-02 09:26:29,189 [erSimpleAppMain] INFO  AMQPersistenceAdapter          - Finished recovering the ReferenceStore
2008-07-02 09:26:29,385 [erSimpleAppMain] ERROR BrokerService                  - Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: Recovery Failed: The subscription does not exist: ID:quarkb1.mrs.experian.fr-57145-1213887853982-0:4:-1:2
java.io.IOException: Recovery Failed: The subscription does not exist: ID:quarkb1.mrs.experian.fr-57145-1213887853982-0:4:-1:2
        at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
        at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
        at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
        at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
        at org.apache.activemq.broker.MutableBrokerFilter.start(MutableBrokerFilter.java:160)
        at org.apache.activemq.broker.BrokerService.start(BrokerService.java:444)
        at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:50)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1288)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1257)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:438)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:400)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:736)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
        at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
        at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
        at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
        at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
        at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
        at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
        at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:111)
        at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:73)
        at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
        at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
        at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
        at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
        at org.apache.activemq.console.Main.main(Main.java:106)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: The subscription does not exist: ID:quarkb1.mrs.experian.fr-57145-1213887853982-0:4:-1:2
        at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:357)
        at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:470)
        at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
        at org.apache.activemq.broker.TransactionBroker$1.recover(TransactionBroker.java:100)
        at org.apache.activemq.store.amq.AMQTransactionStore.recover(AMQTransactionStore.java:196)
        at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:92)
        ... 42 more
}}


> Broker doens't start anymore!
> -----------------------------
>
>                 Key: AMQ-1498
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1498
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: goldi
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>
>
> Killing ActiveMQ-Broker and trying to restart it I got the following exception:
> java.io.IOException: Recovery Failed: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.MutableBrokerFilter.start(MutableBrokerFilter.java:163)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:422)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:46)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:91)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:51)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:112)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:104)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:76)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> Caused by: java.lang.IllegalArgumentException: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:336)
>         at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:427)
>         at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
>         at org.apache.activemq.broker.TransactionBroker$1.recover(TransactionBroker.java:100)
>         at org.apache.activemq.store.amq.AMQTransactionStore.recover(AMQTransactionStore.java:196)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:92)
>         ... 32 more
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  BrokerService                  - ActiveMQ Message Broker (localhost, null) is shutting down
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  TransportConnector             - Connector openwire Stopped
> 2007-11-16 14:50:54,329 [MQ ShutdownHook] ERROR AMQPersistenceAdapter          - Could not stop service: AMQPersistenceAdapter(C:\ESBActiveMQ5.0\Active_Broker\bin\..\data\localhost). Reason: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.activemq.store.amq.AMQTxOperation.writeExternal(AMQTxOperation.java:113)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:60)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:34)
>         at org.apache.activemq.kaha.impl.data.SyncDataFileWriter.storeItem(SyncDataFileWriter.java:58)
>         at org.apache.activemq.kaha.impl.data.DataManagerImpl.storeDataItem(DataManagerImpl.java:151)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:516)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:301)
>         at org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePreparedState(KahaReferenceStoreAdapter.java:270)
>         at org.apache.activemq.store.amq.AMQPersistenceAdapter.stop(AMQPersistenceAdapter.java:263)
>         at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>         at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:457)
>         at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1586)
> with the result that the Broker don't starts anymore (Trying it 3 times). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQ-1498) Broker doens't start anymore!

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40827 ] 

Rob Davies commented on AMQ-1498:
---------------------------------

Are you sure this is the case in the latest ?

> Broker doens't start anymore!
> -----------------------------
>
>                 Key: AMQ-1498
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1498
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: goldi
>            Assignee: Rob Davies
>
> Killing ActiveMQ-Broker and trying to restart it I got the following exception:
> java.io.IOException: Recovery Failed: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:153)
>         at org.apache.activemq.broker.MutableBrokerFilter.start(MutableBrokerFilter.java:163)
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:422)
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:46)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:91)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:51)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:112)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:104)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:51)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:76)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:222)
>         at org.apache.activemq.console.Main.main(Main.java:106)
> Caused by: java.lang.IllegalArgumentException: The subscription does not exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
>         at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:336)
>         at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:427)
>         at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
>         at org.apache.activemq.broker.TransactionBroker$1.recover(TransactionBroker.java:100)
>         at org.apache.activemq.store.amq.AMQTransactionStore.recover(AMQTransactionStore.java:196)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:92)
>         ... 32 more
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  BrokerService                  - ActiveMQ Message Broker (localhost, null) is shutting down
> 2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  TransportConnector             - Connector openwire Stopped
> 2007-11-16 14:50:54,329 [MQ ShutdownHook] ERROR AMQPersistenceAdapter          - Could not stop service: AMQPersistenceAdapter(C:\ESBActiveMQ5.0\Active_Broker\bin\..\data\localhost). Reason: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.activemq.store.amq.AMQTxOperation.writeExternal(AMQTxOperation.java:113)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:60)
>         at org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload(AMQTxMarshaller.java:34)
>         at org.apache.activemq.kaha.impl.data.SyncDataFileWriter.storeItem(SyncDataFileWriter.java:58)
>         at org.apache.activemq.kaha.impl.data.DataManagerImpl.storeDataItem(DataManagerImpl.java:151)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:516)
>         at org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:301)
>         at org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePreparedState(KahaReferenceStoreAdapter.java:270)
>         at org.apache.activemq.store.amq.AMQPersistenceAdapter.stop(AMQPersistenceAdapter.java:263)
>         at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>         at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:457)
>         at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1586)
> with the result that the Broker don't starts anymore (Trying it 3 times). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.