KahaDB recovery problem after out of free disk space
ciand7 Jul 7, 2010 11:53 AMHi,
Activemq (5.3.1-01-00) can`t start after out of free disk space crash.
The following exception throws:
====
2010-07-07 18:19:49,941 | ERROR | Failed to start ActiveMQ JMS Message Broker. Reason: java.io.EOFException | org.apache.activemq.broker.BrokerService | main
java.io.EOFException
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:383)
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:361)
at org.apache.kahadb.page.PageFile.readPage(PageFile.java:792)
at org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:440)
at org.apache.kahadb.page.Transaction$2.(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.kahadb.index.BTreeIndex.loadNode(BTreeIndex.java:262)
at org.apache.kahadb.index.BTreeNode.getChild(BTreeNode.java:224)
at org.apache.kahadb.index.BTreeNode.getLast(BTreeNode.java:553)
at org.apache.kahadb.index.BTreeIndex.getLast(BTreeIndex.java:244)
at org.apache.activemq.store.kahadb.MessageDatabase.loadStoredDestination(MessageDatabase.java:1224)
at org.apache.activemq.store.kahadb.MessageDatabase.access$000(MessageDatabase.java:82)
at org.apache.activemq.store.kahadb.MessageDatabase$2.execute(MessageDatabase.java:227)
at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
at org.apache.activemq.store.kahadb.MessageDatabase.loadPageFile(MessageDatabase.java:223)
at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:277)
at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:321)
at org.apache.activemq.store.kahadb.MessageDatabase.start(MessageDatabase.java:182)
at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.start(KahaDBPersistenceAdapter.java:183)
at org.apache.activemq.broker.BrokerService.start(BrokerService.java:469)
at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:85)
====
The same results with ActiveMQ 5.4-SNAPSOT.
Is there way to restore storage?
Thanks.