Description
To replicate, use these settings in the activemq.xml
<persistenceAdapter> <mKahaDB directory="${activemq.data}/kahadb"> <filteredPersistenceAdapters> <filteredKahaDB perDestination="true" > <persistenceAdapter> <kahaDB journalMaxFileLength="32mb" /> </persistenceAdapter> </filteredKahaDB> </filteredPersistenceAdapters> </mKahaDB> </persistenceAdapter>
- Start the broker
- Create a queue
- This will create the queue in the /kahadb folder
- Delete the queue
- The queue is not deleted from the /kahadb folder
- Stop the broker
- Start the broker
This will cause cause the stack trace that is attached.
To fix this, delete the queue in the /kahadb folder and start the broker. This allows the broker to start as normal.