vendredi 8 mai 2015

Issue in hornetq: java.lang.IllegalStateException: Invalid logic on buffer allocation

I am using hornetq-2.0. IllegalStateException occured when my jms queue gets piled up. Below is the stack trace for the exception.

java.lang.IllegalStateException: Invalid logic on buffer allocation

    at org.hornetq.core.journal.impl.JournalImpl.appendRecord(JournalImpl.java:2820)

    at org.hornetq.core.journal.impl.JournalImpl.appendAddRecordTransactional(JournalImpl.java:968)

    at org.hornetq.core.persistence.impl.journal.JournalStorageManager.storeMessageTransactional(JournalStorageManager.java:567)

    at org.hornetq.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:900)

    at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:665)

    at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:539)

    at org.hornetq.core.paging.impl.PagingStoreImpl.onDepage(PagingStoreImpl.java:1006)

    at org.hornetq.core.paging.impl.PagingStoreImpl.readPage(PagingStoreImpl.java:698)

    at org.hornetq.core.paging.impl.PagingStoreImpl.access$200(PagingStoreImpl.java:64)

    at org.hornetq.core.paging.impl.PagingStoreImpl$DepageRunnable.run(PagingStoreImpl.java:1181)

    at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

    at java.lang.Thread.run(Thread.java:662)

After this error occurred the hornetq had to be restarted and the pages and journals had to be cleared.

Aucun commentaire:

Enregistrer un commentaire