activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: activemq 4.0 startup
Date Sun, 11 Jun 2006 19:57:41 GMT
Weird, the journal seems to have become corrupted.  What's your
platform info?  To get it to start again delete the activemq-data
directory.  Please let me know if this is easily reproducible.

On 6/9/06, Sun J Lee <sun.lee@quadriserv.com> wrote:
>
> Hi,
>
> Initially I was able to run bin/activemq without any problem.
>
> However, from the second time on, it refuses to start cleanly.
> I have the following stack trace:
>
> Loading message broker from: xbean:activemq.xml
> INFO  BrokerService                  - ActiveMQ 4.0 JMS Message Broker
> (localhost) is starting
> INFO  BrokerService                  - For help or more information please
> see: http://incubator.apache.org/activemq/
> INFO  ManagementContext              - JMX consoles can connect to
> service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
> INFO  JDBCPersistenceAdapter         - Database driver recognized:
> [apache_derby_embedded_jdbc_driver]
> INFO  JournalPersistenceAdapter      - Journal Recovery Started from: Active
> Journal: using 5 x 20.0 Megs at: /usr/local/slee/activemq-data/journal
> ERROR BrokerService                  - Failed to start ActiveMQ JMS Message
> Broker. Reason: java.io.IOException: No record at (0:97) found.
> java.io.IOException: No record at (0:97) found.
>         at
> org.apache.activeio.journal.active.JournalImpl.handleExecutionException(JournalImpl.java:390)
>         at
> org.apache.activeio.journal.active.JournalImpl.read(JournalImpl.java:418)
>         at
> org.apache.activemq.store.journal.JournalPersistenceAdapter.recover(JournalPersistenceAdapter.java:460)
>         at
> org.apache.activemq.store.journal.JournalPersistenceAdapter.start(JournalPersistenceAdapter.java:217)
>         at
> org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:930)
>         at
> org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:888)
>         at
> org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:458)
>         at
> org.apache.activemq.broker.BrokerService.start(BrokerService.java:361)
>         at
> org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:43)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
>         at
> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:158)
>         at
> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:48)
>         at
> org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:40)
>         at
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:56)
>         at
> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:81)
>         at
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:46)
>         at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:49)
>         at
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:81)
>         at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:49)
>         at
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:45)
>         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:135)
>         at org.apache.activemq.console.Main.main(Main.java:67)
> Caused by: org.apache.activeio.journal.InvalidRecordLocationException: No
> record at (0:97) found.
>         at
> org.apache.activeio.journal.active.LogFileManager.readRecordInfo(LogFileManager.java:372)
>         at
> org.apache.activeio.journal.active.LogFileManager.readPacket(LogFileManager.java:449)
>         at
> org.apache.activeio.journal.active.JournalImpl$5.call(JournalImpl.java:410)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class
> path resource [activemq.xml]: Initialization of bean failed; nested
> exception is java.io.IOException: No record at (0:97) found.
> ERROR: java.lang.Exception:
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class
> path resource [activemq.xml]: Initialization of bean failed; nested
> exception is java.io.IOException: No record at (0:97) found.
>
>
> Regards,
> Sun
>
> --
> View this message in context: http://www.nabble.com/activemq-4.0-startup-t1762970.html#a4797337
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 
Regards,
Hiram

Mime
View raw message