ActiveMQ Artemis recovery

An Artemis journal failure needs bindings, message records, paging files, and transaction state preserved as one store.

ActiveMQ Artemis persists queue and address definitions in the bindings journal and message activity in the message journal. Large messages and paging data live in separate directories but remain logically tied to journal records.

Understand the symptom

Recovering only the message journal can leave queues, page references, or large-message bodies disconnected.

WHY

What is happening

The Artemis file journal uses append-only records and transactions across a pool of files. Broker startup replays those records to rebuild state. If files are missing or damaged, the visible error may involve bindings, messages, acknowledgments, prepared transactions, paging, or large-message references, so the entire data directory generation must be evaluated together.

What you may see

Symptoms that change the recovery path.

01

Broker fails during journal load

Startup reports unreadable records, missing files, or invalid journal state.

02

Queues exist but messages are missing

Bindings loaded while message, paging, or large-message data did not.

03

Prepared transactions remain unresolved

XA or local transaction records could not be replayed cleanly.

04

Paging directory grows or fails

Paged messages and journal references may be inconsistent.

Protect the source

Actions that can make the situation worse.

01

Deleting a bad file breaks replay history

Later records may depend on earlier add, update, or transaction entries.

02

Starting empty creates a new node identity

Clients and peers can continue against a store with missing history.

03

Copying only one directory loses relationships

Large messages and page files require matching journal references.

Do this now

Safe steps before evaluation.

01

Stop all broker nodes

Prevent failback, replication, paging cleanup, and new message writes.

02

Image the complete data set

Copy bindings, journal, paging, large-message, and node-manager directories together.

03

Collect topology and configuration

Save broker.xml, HA policy, connectors, addresses, queues, and disk mappings.

04

Preserve transaction evidence

Keep client logs, XA coordinator state, producers, consumers, and outage timestamps.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Store-generation assessment

NEPFOSYS maps journal files, bindings, pages, large messages, and HA copies.

02

Read-only journal analysis

Records and transactions are parsed on protected copies to identify recoverable sequences.

03

Isolated broker validation

Recovered stores are checked for queues, messages, duplicates, acknowledgments, and prepared transactions.

A clear next step

Preserve the original device before another repair or recovery attempt.

Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.

Start with a case review

Questions, answered

What customers ask before starting.

Can I delete the journal file named in the error?

No. Other records may depend on it; preserve the full store first.

Does an HA replica guarantee a clean copy?

Not if corruption or deletion replicated, so compare both generations.

Why copy paging and large-message directories?

Their contents are referenced by journal records and may contain the message payloads.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case