Not sure if it helps in your case but can you try deleting the db.data index 
file and restart your broker? It will then rebuild the index based on the 
journal files. If the journal files are complete bogus though, this approach 
may not help.


Regards,


Torsten Mielke
tors...@fusesource.com
tmielke.blogspot.com



On Dec 5, 2012, at 3:36 PM, RJtokenlanring wrote:

> Hi,
> I've a currupted .log kahadb log file that cause this exception:
> 
> Failed to start Apache ActiveMQ (localhost, null). Reason:
> java.io.EOFException
> java.io.EOFException
>        at java.io.RandomAccessFile.readInt(Unknown Source)
> ...
> ..
> 
> I've configured broker to ignore journalFile as follow:
> 
> <persistenceAdapter>
>       <kahaDB directory="../kahadb" enableIndexWriteAsync="true"
> ignoreMissingJournalfiles="true" checkForCorruptJournalFiles="true"
> checksumJournalFiles="true" />
> </persistenceAdapter>
> 
> Shouldn't also .log files checked? There is a way to automatically drop
> broken kahadb files?
> 
> Thank you and regards
> 
> 
> 
> 
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/KahaDB-not-able-to-ignore-broken-log-files-tp4660220.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



Reply via email to