Hello Fabricio, did you try a lease locker rather than a database lock? https://activemq.apache.org/pluggable-storage-lockers for me this works fine but not on KahaDB but shouldn't matter
Regards Herbert Von: "Fabrice Triboix" <fabrice.trib...@armedia.com> An: "users@activemq.apache.org" <users@activemq.apache.org> Datum: 10.08.2021 17:47 Betreff: How to disable KahaDB lock? Hi everyone, It seems that when ActiveMQ terminates uncleanly, it leaves a lock on the Kaha DB. Next time it starts, it complains that the DB is locked and goes in slave mode. In my setup, I am 100% certain that a given broker will access one and only one KahaDB, so I would like to configure ActiveMQ so that it doesn't put a lock on KahaDB. Is that possible? If yes, how? Thanks a lot for your help! Fabrice