activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: failed to start ActiveMQ
Date Mon, 26 Mar 2018 04:17:35 GMT
I've submitted to capture
the fact that the broker failed to start due to the missing journal file,
even though ignoreMissingJournalFiles was set to true. Please add any
information to it that you think would be useful.

I think the next workaround is to remove your and db.redo files
(the KahaDB index and recovery files) and try starting the broker. This
should cause it to not know that file 531 is missing, and the index will be
rebuilt based on the content of those journal files that are present.

Sorry you've hit two successive bugs in the course of this work; I'm sure
that's frustrating for you. Hopefully this second workaround will get your
broker back up and running, and hopefully both bug reports I submitted will
get implemented and will avoid this problem for future users.

On the subject of the offline durable subscription cleanup, you'd see an
INFO-level log line saying "Destroying durable subscriber due to
inactivity: ..." if a subscriber were getting removed due to inactivity. If
you've got a subscriber who should be getting removed and you don't see
that log line, I'd suggest grabbing the source code and putting a
breakpoint in, to
see why that subscription is not considered eligible for removal. The code
looks pretty straightforward, so there's nothing obvious that I see that
might cause it to not remove the subscription, so hopefully the debugger
will indicate what the root of the problem is.


On Thu, Mar 22, 2018 at 11:35 PM, norinos <> wrote:

> > You need to set ignoreMissingJournalFiles. See
> > for more information.
> Thank you for the information.
> I tryed the above settings, but the following error occured and
> failed to start ActiveMQ.
> 2018-03-22 17:21:56,218 | ERROR | Looking for key 531 but not found in
> fileMap: ........
> 2018-03-22 17:21:56,222 | ERROR | Failed to start Apache ActiveMQ
> ([broker0,
> null], Could not locate data file
> /data/kahadb/db-531.log) | |
> WrapperSimpleAppMain
> > That's certainly possible. Are you sure that the durable subscription in
> > question has actually been offline continuously for more than a month? It
> > hasn't been sporadically connecting briefly and then disconnecting?
> My application connect and subscribe the message at the same time.
> So the durable subscription has actually been offline continuously for more
> than a month.
> --
> Sent from:
> f2341805.html

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message