2 Replies Latest reply on May 29, 2015 5:17 AM by roger.zhang roger.zhang

    javax.jms.IllegalStateException: HQ119027: Could not find reference on consumer ID=0, messageId = 88,048,094,375 queue = jms.queue.client-to-server-queue

    roger.zhang roger.zhang Newbie

      HornetQ version : 2.4.0 Final

      Configuration: in  Session.CLIENT_ACKNOWLEDGE mode, one consumer, couples producers, no filter, no priority

      Issue : when during duriability testing,  after some times, the consumer throws exception after invoking message.acknowledge() method,

      and at the same time, the speed of processing messages will become very slow than before.

       

      Exception as below:

      javax.jms.IllegalStateException: HQ119027: Could not find reference on consumer ID=0, messageId = 88,048,094,375 queue = jms.queue.client-to-server-queue

        at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:390)

        at org.hornetq.core.client.impl.ClientSessionImpl.commit(ClientSessionImpl.java:608)

        at org.hornetq.core.client.impl.DelegatingSession.commit(DelegatingSession.java:165)

        at org.hornetq.jms.client.HornetQMessage.acknowledge(HornetQMessage.java:854)

        at de.medavis.dcs.server.ServerSiteWorker.onMessage(ServerSiteWorker.java:41)

        at org.hornetq.jms.client.JMSMessageListenerWrapper.onMessage(JMSMessageListenerWrapper.java:104)

        at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1117)

        at org.hornetq.core.client.impl.ClientConsumerImpl.access$500(ClientConsumerImpl.java:57)

        at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1252)

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

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

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

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

      Caused by: HornetQIllegalStateException[errorType=ILLEGAL_STATE message=HQ119027: Could not find reference on consumer ID=0, messageId = 88,048,094,375 queue = jms.queue.client-to-server-queue]

        ... 13 more

       

      Anybody know how? thanks in advance.