Problem:
You may see “java.io.IOException: Detected missing/corrupt journal files.” error listed in the soimgr_debug.log
kahaDB is used by activeMQ to persist the alert messages in the \CA\SOI\tomcat\webapps\activemq-web\activemq-data folder as a log files.
These files can get corrupted or missing.
Environment:
Soi 3.3 CU2 / Windows 2012 Windows 2008
Resolution:
Add the property “ignoreMissingJournalfiles=true” to allow graceful recovery even when active journal files have been removed.
To apply this, open the file: “CA\SOI\tomcat\webapps\activemq-web\WEB-INF\caifwmq.xml”
Search for similar line and add the new property
<kahaDB directory="C:\Program Files (x86)\CA\SOI\tomcat\webapps\activemq-web\activemq-data" journalMaxFileLength="100kb" cleanupInterval="5000" ignoreMissingJournalfiles="true" />