activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer <nor...@apache.org>
Subject Re: KahaDB died during JVM crash?
Date Mon, 11 Oct 2010 07:09:14 GMT
Its a known issue:

https://issues.apache.org/activemq/browse/AMQ-2935

Unfortunaly you will need to delete your data to get activemq to start
again. Hopefully there will be a release with the fix included soon..

Bye,
Norman


2010/10/11 topikpl <jakub.kozlowski@gmail.com>:
>
> Hi,
>
> recently my ActiveMQ installation reported a JVM problem (5.4.1, 1.6u17 JDK)
> and probably as a result of that KahaDB died and was not able to recover (I
> was not able to restart ActiveMQ, it refused to start with same exception
> over and over). Could someone look at the logs and comment if it's an
> expected behavior:
>
> ERROR  | wrapper  | 2010/10/08 07:44:37 | JVM appears hung: Timed out
> waiting for signal from JVM.
> ERROR  | wrapper  | 2010/10/08 07:44:37 | JVM did not exit on request,
> terminated
> STATUS | wrapper  | 2010/10/08 07:44:44 | Launching a JVM...
> ERROR  | wrapper  | 2010/10/08 07:45:12 | Startup failed: Timed out waiting
> for a signal from the JVM.
> ERROR  | wrapper  | 2010/10/08 07:45:12 | JVM did not exit on request,
> terminated
> STATUS | wrapper  | 2010/10/08 07:45:17 | Launching a JVM...
> ERROR  | wrapper  | 2010/10/08 07:45:46 | Startup failed: Timed out waiting
> for a signal from the JVM.
> ERROR  | wrapper  | 2010/10/08 07:45:46 | JVM did not exit on request,
> terminated
> STATUS | wrapper  | 2010/10/08 07:45:51 | Launching a JVM...
> INFO   | jvm 4    | 2010/10/08 07:46:05 | Wrapper (Version 3.2.3)
> http://wrapper.tanukisoftware.org
> INFO   | jvm 4    | 2010/10/08 07:46:05 |   Copyright 1999-2006 Tanuki
> Software, Inc.  All Rights Reserved.
> INFO   | jvm 4    | 2010/10/08 07:46:05 |
> INFO   | jvm 4    | 2010/10/08 07:46:06 | Java Runtime: Sun Microsystems
> Inc. 1.6.0_17 C:\Program Files\Java\jre6
> INFO   | jvm 4    | 2010/10/08 07:46:06 |   Heap sizes: current=5056k
> free=4529k  max=520256k
> INFO   | jvm 4    | 2010/10/08 07:46:06 |     JVM args:
> -Dactivemq.home=../.. -Dactivemq.base=../..
> -Djavax.net.ssl.keyStorePassword=password
> -Djavax.net.ssl.trustStorePassword=password
> -Djavax.net.ssl.keyStore=../../conf/broker.ks
> -Djavax.net.ssl.trustStore=../../conf/broker.ts
> -Dcom.sun.management.jmxremote
> -Dorg.apache.activemq.UseDedicatedTaskRunner=true
> -Djava.util.logging.config.file=logging.properties -Xmx512m
> -Djava.library.path=../../bin/win32 -Dwrapper.key=Ng4VqKCSdaQfcN60
> -Dwrapper.port=32001 -Dwrapper.jvm.port.min=31000
> -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=652 -Dwrapper.version=3.2.3
> -Dwrapper.native_library=wrapper -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=4
> INFO   | jvm 4    | 2010/10/08 07:46:06 | ACTIVEMQ_HOME: ..\..
> INFO   | jvm 4    | 2010/10/08 07:46:06 | ACTIVEMQ_BASE: ..\..
> INFO   | jvm 4    | 2010/10/08 07:46:15 | Loading message broker from:
> xbean:activemq.xml
> INFO   | jvm 4    | 2010/10/08 07:46:25 |  WARN |
> destroyApplicationContextOnStop parameter is deprecated, please use shutdown
> hooks instead
> INFO   | jvm 4    | 2010/10/08 07:46:25 |  INFO |
> PListStore:..\..\data\localhost\tmp_storage started
> INFO   | jvm 4    | 2010/10/08 07:46:25 |  INFO | Using Persistence Adapter:
> KahaDBPersistenceAdapter[..\..\data\kahadb]
> INFO   | jvm 4    | 2010/10/08 07:46:28 |  INFO | KahaDB is version 2
> INFO   | jvm 4    | 2010/10/08 07:46:28 |  INFO | Recovering from the
> journal ...
> INFO   | jvm 4    | 2010/10/08 07:46:28 |  INFO | Recovery replayed 2
> operations from the journal in 0.13 seconds.
> INFO   | jvm 4    | 2010/10/08 07:46:28 |  INFO | ActiveMQ 5.4.1 JMS Message
> Broker (localhost) is starting
> INFO   | jvm 4    | 2010/10/08 07:46:28 |  INFO | For help or more
> information please see: http://activemq.apache.org/
> INFO   | jvm 4    | 2010/10/08 07:46:28 |  INFO | Scheduler using directory:
> ..\..\data\localhost\scheduler
> INFO   | jvm 4    | 2010/10/08 07:46:29 | ERROR | Failed to start ActiveMQ
> JMS Message Broker. Reason: java.io.EOFException: Chunk stream does not
> exist at page: 0
> INFO   | jvm 4    | 2010/10/08 07:46:29 | java.io.EOFException: Chunk stream
> does not exist at page: 0
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:431)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:428)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.kahadb.page.Transaction.load(Transaction.java:404)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.kahadb.page.Transaction.load(Transaction.java:361)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.scheduler.JobSchedulerStore$3.execute(JobSchedulerStore.java:250)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.scheduler.JobSchedulerStore.doStart(JobSchedulerStore.java:239)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.scheduler.SchedulerBroker.getStore(SchedulerBroker.java:198)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalScheduler(SchedulerBroker.java:185)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.scheduler.SchedulerBroker.start(SchedulerBroker.java:85)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1786)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.broker.BrokerService.start(BrokerService.java:496)
> INFO   | jvm 4    | 2010/10/08 07:46:29 |     at
> org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:60)
> [...]
>
>
> Regards
> topikpl
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/KahaDB-died-during-JVM-crash-tp2989305p2989305.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
View raw message