activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajanikanta_ncr <rd250...@ncr.com>
Subject Issue with Active MQ 2012-12-23 16:35:22,636 | ERROR | Failed to start ActiveMQ JMS Message Broker. Reason: java.lang.NullPointerException |
Date Mon, 24 Dec 2012 13:20:58 GMT
I am getting issue with Active MQ its not starting .

Here is version information-

apache-activemq-5.3.2

I am using Kahadb below are the details -

 <persistenceAdapter>
            <kahaDB directory="${activemq.base}/data/kahadb"/>
        </persistenceAdapter>


Below are the errors details -


2012-12-23 16:35:22,359 | INFO  | Replayed 1 operations from the journal in
0.01 seconds. | org.apache.activemq.store.kahadb.MessageDatabase | main
2012-12-23 16:35:22,406 | INFO  | ActiveMQ 5.3.2 JMS Message Broker
(localhost) is starting | org.apache.activemq.broker.BrokerService | main
2012-12-23 16:35:22,406 | INFO  | For help or more information please see:
http://activemq.apache.org/ | org.apache.activemq.broker.BrokerService |
main
2012-12-23 16:35:22,636 | ERROR | Failed to start ActiveMQ JMS Message
Broker. Reason: java.lang.NullPointerException |
org.apache.activemq.broker.BrokerService | main
java.lang.NullPointerException
	at
org.apache.kahadb.index.BTreeNode$BTreeIterator.findNextPage(BTreeNode.java:109)
	at
org.apache.kahadb.index.BTreeNode$BTreeIterator.hasNext(BTreeNode.java:120)
	at
org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$2.execute(KahaDBStore.java:194)
	at
org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$2.execute(KahaDBStore.java:190)
	at org.apache.kahadb.page.Transaction.execute(Transaction.java:751)
	at
org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.getMessageCount(KahaDBStore.java:189)
	at org.apache.activemq.broker.region.Queue.initialize(Queue.java:292)
	at
org.apache.activemq.broker.region.DestinationFactoryImpl.createDestination(DestinationFactoryImpl.java:83)
	at
org.apache.activemq.broker.region.AbstractRegion.createDestination(AbstractRegion.java:464)
	at
org.apache.activemq.broker.jmx.ManagedQueueRegion.createDestination(ManagedQueueRegion.java:56)
	at
org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:120)
	at
org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:268)
	at
org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:142)
	at
org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:142)
	at
org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:153)
	at
org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:142)
	at
org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:149)
	at
org.apache.activemq.broker.region.AbstractRegion.start(AbstractRegion.java:94)
	at
org.apache.activemq.broker.region.RegionBroker.start(RegionBroker.java:178)
	at
org.apache.activemq.broker.jmx.ManagedRegionBroker.start(ManagedRegionBroker.java:100)
	at
org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:154)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:154)
	at
org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1707)
	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:469)
	at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:85)
	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:597)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
	at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
	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:115)
	at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
	at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:136)
	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
	at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:82)
	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:597)
	at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
	at org.apache.activemq.console.Main.main(Main.java:107)
2012-12-23 16:35:22,642 | INFO  | ActiveMQ Message Broker (localhost, null)
is shutting down | org.apache.activemq.broker.BrokerService | main
2012-12-23 16:35:22,642 | INFO  | Connector openwire Stopped |
org.apache.activemq.broker.TransportConnector | main
2012-12-23 16:35:22,642 | INFO  | Connector http Stopped |
org.apache.activemq.broker.TransportConnector | main
2012-12-23 16:35:22,863 | INFO  | ActiveMQ JMS Message Broker (localhost,
null) stopped | org.apache.activemq.broker.BrokerService | main




--
View this message in context: http://activemq.2283324.n4.nabble.com/Issue-with-Active-MQ-2012-12-23-16-35-22-636-ERROR-Failed-to-start-ActiveMQ-JMS-Message-Broker-Reaso-tp4661058.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message