You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by johneboyer <jo...@gmail.com> on 2010/09/29 21:58:49 UTC

Fatal Error: Unable to successfully start ActiveMQ 5.4.1 Broker

I've been using ActiveMQ 5.4.1 since its release. I've been running it with
the console: ./activemq console. However, now I'm unable to start the
broker. Does anyone know what it is going wrong? Thank you for your time!

INFO: Using default configuration
(you can configure options in one of these file: /etc/default/activemq
/Users/johndev/.activemqrc)

INFO: Invoke the following command to create a configuration file
./activemq setup [ /etc/default/activemq | /Users/johndev/.activemqrc ]

INFO: Using java '/System/Library/Frameworks/JavaVM.framework/Home/bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop
process by pressing CTRL+C)
Java Runtime: Apple Inc. 1.6.0_20
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
  Heap sizes: current=258880k  free=253085k  max=258880k
    JVM args: -Xms256M -Xmx256M
-Dorg.apache.activemq.UseDedicatedTaskRunner=true
-Djava.util.logging.config.file=logging.properties
-Dcom.sun.management.jmxremote
-Dactivemq.classpath=/Applications/apache-activemq-5.4.1/conf;
-Dactivemq.home=/Applications/apache-activemq-5.4.1
-Dactivemq.base=/Applications/apache-activemq-5.4.1
ACTIVEMQ_HOME: /Applications/apache-activemq-5.4.1
ACTIVEMQ_BASE: /Applications/apache-activemq-5.4.1
Loading message broker from: xbean:activemq.xml
 WARN | destroyApplicationContextOnStop parameter is deprecated, please use
shutdown hooks instead
 INFO |
PListStore:/Applications/apache-activemq-5.4.1/data/localhost/tmp_storage
started
 INFO | Using Persistence Adapter:
KahaDBPersistenceAdapter[/Applications/apache-activemq-5.4.1/data/kahadb]
 INFO | KahaDB is version 2
 INFO | Recovering from the journal ...
 INFO | Recovery replayed 1 operations from the journal in 0.051 seconds.
 INFO | ActiveMQ 5.4.1 JMS Message Broker (localhost) is starting
 INFO | For help or more information please see: http://activemq.apache.org/
 INFO | Scheduler using directory:
/Applications/apache-activemq-5.4.1/data/localhost/scheduler
ERROR | Failed to start ActiveMQ JMS Message Broker. Reason:
java.io.EOFException: Chunk stream does not exist at page: 0
java.io.EOFException: Chunk stream does not exist at page: 0
	at org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)
	at org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:431)
	at org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:428)
	at org.apache.kahadb.page.Transaction.load(Transaction.java:404)
	at org.apache.kahadb.page.Transaction.load(Transaction.java:361)
	at
org.apache.activemq.broker.scheduler.JobSchedulerStore$3.execute(JobSchedulerStore.java:250)
	at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
	at
org.apache.activemq.broker.scheduler.JobSchedulerStore.doStart(JobSchedulerStore.java:239)
	at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
	at
org.apache.activemq.broker.scheduler.SchedulerBroker.getStore(SchedulerBroker.java:198)
	at
org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalScheduler(SchedulerBroker.java:185)
	at
org.apache.activemq.broker.scheduler.SchedulerBroker.start(SchedulerBroker.java:85)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
	at
org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112)
	at
org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1786)
	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:496)
	at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:60)
	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:1536)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)
	at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	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:143)
	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
	at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.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.apache.activemq.console.Main.runTaskClass(Main.java:251)
	at org.apache.activemq.console.Main.main(Main.java:107)
org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalScheduler(SchedulerBroker.java:185)
	at
org.apache.activemq.broker.scheduler.SchedulerBroker.start(SchedulerBroker.java:85)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
	at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
	at
org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112)
	at
org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1786)
	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:496)
	at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:60)
	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)

-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Fatal-Error-Unable-to-successfully-start-ActiveMQ-5-4-1-Broker-tp2719671p2719671.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Fatal Error: Unable to successfully start ActiveMQ 5.4.1 Broker

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

we'll be looking to fix this in the next couple of days.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Thu, Sep 30, 2010 at 11:26 PM, RJtokenlanring
<in...@gmail.com> wrote:
>
> Tim, there is a plan on how to fix this issue? (AMQ-2935)
>
> Any help is needed in testing?
>
> Regards
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Fatal-Error-Unable-to-successfully-start-ActiveMQ-5-4-1-Broker-tp2719671p2761810.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Re: Fatal Error: Unable to successfully start ActiveMQ 5.4.1 Broker

Posted by RJtokenlanring <in...@gmail.com>.
Tim, there is a plan on how to fix this issue? (AMQ-2935)

Any help is needed in testing?

Regards
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Fatal-Error-Unable-to-successfully-start-ActiveMQ-5-4-1-Broker-tp2719671p2761810.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Fatal Error: Unable to successfully start ActiveMQ 5.4.1 Broker

Posted by Timothy Bish <ta...@gmail.com>.
On Wed, 2010-09-29 at 12:58 -0700, johneboyer wrote:
> I've been using ActiveMQ 5.4.1 since its release. I've been running it with
> the console: ./activemq console. However, now I'm unable to start the
> broker. Does anyone know what it is going wrong? Thank you for your time!
> 
> INFO: Using default configuration
> (you can configure options in one of these file: /etc/default/activemq
> /Users/johndev/.activemqrc)
> 
> INFO: Invoke the following command to create a configuration file
> ./activemq setup [ /etc/default/activemq | /Users/johndev/.activemqrc ]
> 
> INFO: Using java '/System/Library/Frameworks/JavaVM.framework/Home/bin/java'
> INFO: Starting in foreground, this is just for debugging purposes (stop
> process by pressing CTRL+C)
> Java Runtime: Apple Inc. 1.6.0_20
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
>   Heap sizes: current=258880k  free=253085k  max=258880k
>     JVM args: -Xms256M -Xmx256M
> -Dorg.apache.activemq.UseDedicatedTaskRunner=true
> -Djava.util.logging.config.file=logging.properties
> -Dcom.sun.management.jmxremote
> -Dactivemq.classpath=/Applications/apache-activemq-5.4.1/conf;
> -Dactivemq.home=/Applications/apache-activemq-5.4.1
> -Dactivemq.base=/Applications/apache-activemq-5.4.1
> ACTIVEMQ_HOME: /Applications/apache-activemq-5.4.1
> ACTIVEMQ_BASE: /Applications/apache-activemq-5.4.1
> Loading message broker from: xbean:activemq.xml
>  WARN | destroyApplicationContextOnStop parameter is deprecated, please use
> shutdown hooks instead
>  INFO |
> PListStore:/Applications/apache-activemq-5.4.1/data/localhost/tmp_storage
> started
>  INFO | Using Persistence Adapter:
> KahaDBPersistenceAdapter[/Applications/apache-activemq-5.4.1/data/kahadb]
>  INFO | KahaDB is version 2
>  INFO | Recovering from the journal ...
>  INFO | Recovery replayed 1 operations from the journal in 0.051 seconds.
>  INFO | ActiveMQ 5.4.1 JMS Message Broker (localhost) is starting
>  INFO | For help or more information please see: http://activemq.apache.org/
>  INFO | Scheduler using directory:
> /Applications/apache-activemq-5.4.1/data/localhost/scheduler
> ERROR | Failed to start ActiveMQ JMS Message Broker. Reason:
> java.io.EOFException: Chunk stream does not exist at page: 0
> java.io.EOFException: Chunk stream does not exist at page: 0
> 	at org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)

You are not the only one seeing this, see:
https://issues.apache.org/activemq/browse/AMQ-2935

Regards

-- 
Tim Bish

Open Source Integration: http://fusesource.com

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/