activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Cambon <>
Subject Active MQ 4.1.2 Recovery after persistence database shutdown
Date Fri, 01 Apr 2016 06:49:27 GMT

I've lost messages following this configuration/scenario, but I'm not able
to reproduce this problem again, so I am asking for information about the
recovery process from the Journal in case the database was not able to
persist pending messages.
Here is the scenario:
1 - ActiveMQ server is running, persistence is activated, using a started
Derby database
2 - Messages are written to a queue
3 - Database is shutdown
4 - ActiveMQ is shutdown
5 - Database is started
6 - ActiveMQ is started
Following this scenario, every messages from the queue were disappeared
(nothing in database, nothing in queue, we are able to read part of messages
in the journal but not able to read a specific status).

Is there a possibility that messages writen in activeMQ had a particular
status and no recovery from the journal was possible? The expected behavior
is that at the activeMQ startup, the last non persisted operations from the
journal should be persisted in database?

For information, in activeMQ logs I had this error saying that at step 3 no
persistence was possible (but this looks normal since database is down):
ERROR - Failed to checkpoint a message store:
	at ...(see attached log file for more log trace) 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message