activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "goldi (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1498) Broker doens't start anymore!
Date Mon, 19 Nov 2007 19:34:26 GMT
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.


Mime
View raw message