I tried deleting db.data and db.redo files, and starting up ActiveMQ. This try succeeded.(ActiveMQ start successfuly, and recreated db.data and db.redo)
But when the offline durable subscription cleanup is started, journal file could not be deleted. The following message was logged to the activemq.log sometimes, and it was no longer logged at the end. In this state, the client cannot subscribe message. -------------------------------------------------------------------------------- 2018-04-04 12:39:45,600 | INFO | Destroying durable subscriber due to inactivity: DurableTopicSubscription-OjPgmaDmsor4oyyGGONiR18:EXACTLY_ONCE:OjPgmaDmsor4oyyGGONiR18, id=OFFLINE:1:6137, active=false, destinations=1, total=0, pending=0, dispatched=0, inflight=0, prefetchExtension=0 | org.apache.activemq.broker.region.TopicRegion | ActiveMQ Durable Subscriber Cleanup Timer 2018-04-04 12:41:06,857 | INFO | Destroying durable subscriber due to inactivity: DurableTopicSubscription-xOyHFpTRyeCRG5Ymjszmi6Q:EXACTLY_ONCE:xOyHFpTRyeCRG5Ymjszmi6Q, id=OFFLINE:1:3439, active=false, destinations=1, total=3, pending=3, dispatched=0, inflight=0, prefetchExtension=0 | org.apache.activemq.broker.region.TopicRegion | ActiveMQ Durable Subscriber Cleanup Timer 2018-04-04 12:45:14,792 | INFO | Destroying durable subscriber due to inactivity: DurableTopicSubscription-EySMl5bvJ5Ae2HZNqPmoizn:EXACTLY_ONCE:EySMl5bvJ5Ae2HZNqPmoizn, id=OFFLINE:1:3459, active=false, destinations=1, total=0, pending=0, dispatched=0, inflight=0, prefetchExtension=0 | org.apache.activemq.broker.region.TopicRegion | ActiveMQ Durable Subscriber Cleanup Timer -------------------------------------------------------------------------------- -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html