Failed to mark the Journal: org.apache.activeio.journal.InvalidRecordLocationException: The location is less than the last mark.

Solution Verified - Updated -

Issue

Getting this error in ActiveMQ:

Failed to mark the Journal: org.apache.activeio.journal.InvalidRecordLocationException: The location is less than the last mark.
ERROR - JournalPersistenceAdapter - Failed to mark the Journal: 
org.apache.activeio.journal.InvalidRecordLocationException: The location is less than the last mark.
org.apache.activeio.journal.InvalidRecordLocationException: The location is less than the last mark.

    at org.apache.activeio.journal.active.JournalImpl.setMark(JournalImpl.java:340)
    at org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(JournalPersistenceAdapter.java:413)
    at org.apache.activemq.store.journal.JournalPersistenceAdapter$1.iterate(JournalPersistenceAdapter.java:118)
    at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:118)
    at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:42)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
    at java.lang.<SPAN class=code-object>Thread</SPAN>.run(<SPAN class=code-object>Thread</SPAN>.java:613)

Environment

  • ActiveMQ 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In