1 Reply Latest reply on Mar 26, 2014 2:46 AM by gaohoward

    Cannot receive message from queue

    tutq

      Hi,

      My system runs ok but sometime my standalone queue has problems.

      Sometime when i put many message to queue but cannot receive all message (sometime receive no message) until restart queue.

      When restart queue, i have log like this:

      18:21:54,215 INFO  [org.hornetq.integration.bootstrap] HQ101001: Stopping HornetQ Server

      18:21:54,212 WARN  [org.hornetq.core.server] HQ222154: Error checking DLQ: java.lang.IllegalStateException: Journal must be in state=LOADED, was [STOPPED]

              at org.hornetq.core.journal.impl.JournalImpl.checkJournalIsLoaded(JournalImpl.java:1004) [hornetq-journal.jar:]

              at org.hornetq.core.journal.impl.JournalImpl.appendUpdateRecord(JournalImpl.java:827) [hornetq-journal.jar:]

              at org.hornetq.core.persistence.impl.journal.JournalStorageManager.updateDeliveryCount(JournalStorageManager.java:1403) [hornetq-server.jar:]

              at org.hornetq.core.server.impl.QueueImpl.checkRedelivery(QueueImpl.java:2212) [hornetq-server.jar:]

              at org.hornetq.core.server.impl.QueueImpl$RefsOperation.afterRollback(QueueImpl.java:2698) [hornetq-server.jar:]

              at org.hornetq.core.transaction.impl.TransactionImpl.afterRollback(TransactionImpl.java:456) [hornetq-server.jar:]

              at org.hornetq.core.transaction.impl.TransactionImpl.access$200(TransactionImpl.java:38) [hornetq-server.jar:]

              at org.hornetq.core.transaction.impl.TransactionImpl$3.done(TransactionImpl.java:331) [hornetq-server.jar:]

              at org.hornetq.core.persistence.impl.journal.OperationContextImpl$1.run(OperationContextImpl.java:234) [hornetq-server.jar:]

              at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:107) [hornetq-core-client.jar:]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]

              at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

      After restart standalone queue, the system run ok again.

      What the problem?, anyone help me?

       

      Thanks