Re: Re: DB lease lock - broker should stop-start to retry acquiring the lock

2019-03-11 Thread Tim Bain
Martin, Thanks for sharing your solution (unclean though it is) to help whoever might hit this later, and the fact that you're running within Karaf. I don't have any experience working with Karaf so I can't suggest anything cleaner (though you'd be more likely to get suggestions from the Karaf

Re: Re: DB lease lock - broker should stop-start to retry acquiring the lock

2019-03-10 Thread Martin Lichtin
I'm running the broker in a Karaf container. Had to resort to installing a shutdown hook, and when called, move the corresponding .cfg file away and then back into place (to trigger Felix fileinstall) so ActiveMQServiceFactory.updated() would get called. Very ugly, but the desired effect is

Re: DB lease lock - broker should stop-start to retry acquiring the lock

2019-03-08 Thread Tim Bain
It's my understanding that restarts are handled by the Tanuki service wrapper, when ActiveMQ is installed as a service, using the instructions at http://activemq.apache.org/java-service-wrapper.html. Is that how you're using ActiveMQ? Or are you running the broker directly from the executable in