2 Replies Latest reply on Feb 24, 2014 8:42 AM by Clebert Suconic

    Warnings and errors in logs when paging

    maciej-rosiek Newbie

      Setup: HornetQ 2.3.0.Final, 1 live node / 1 backup node, standalone - running on Tomcat with Spring, 10 queues, 2 topics deployed on server. 3 producers, 8 consumers, paging enabled

       

      {code:xml}

              <address-setting match="jms.queue.#">

                  <!-- 64 MB pages -->

                  <max-size-bytes>67108864</max-size-bytes>

                  <address-full-policy>PAGE</address-full-policy>

                  <redelivery-delay>500</redelivery-delay>

                  <max-delivery-attempts>5</max-delivery-attempts>

                  <redelivery-delay-multiplier>2.0</redelivery-delay-multiplier>

                  <max-redelivery-delay>3600000</max-redelivery-delay> <!-- 1 hour -->

              </address-setting>

      {code}

       

       

      Whole configuration seems to be running ok, messages are sent and received correctly (besides this problem: https://community.jboss.org/thread/231028 but it is not related as this happened 2 weeks later). But from time to time we notice some warnings and errors in logs. Problem is that besides that everything seems to be running fine, it's looks like no messages are lost and server doesn't have any problems.

       

      Question

      I'm aware it's quite hard to tell anything without any insights but maybe at least someone could suggest if we should be worried about these log entries or they can be easily ignored? Maybe some suggestions how to diagnose this problem? Of course in local envirnoment we can't reproduce this.

       

       

      {code}

      2013-06-26 07:46:09,315  WARN Old I/O server worker (parentId: 146589343, [id: 0x08bcc69f, /0.0.0.0:23820]) org.hornetq.core.postoffice.impl.BindingsImpl.routeFromCluster(BindingsImpl.java:596): HQ222015: Couldn't find binding with id=98014043 on routeFromCluster for message=ServerMessage[messageID=168465588,priority=4, bodySize=645,expiration=0, durable=true, address=jms.topic.change,properties=TypedProperties[{version=0}]]@1250065210 binding = BindingsImpl [name=jms.topic.change]

      {code}

       

       

      {code}

      2013-06-26 07:51:25,573  WARN Thread-10 (HornetQ-server-HornetQServerImpl::serverUUID=f12e6f7b-c9d7-11e2-b314-c112bd19ac61-65128461) org.hornetq.core.paging.cursor.impl.PageSubscriptionImpl$CursorIterator.moveNext(PageSubscriptionImpl.java:1339): HQ222029: Could not locate page transaction 169,257,100, ignoring message on position PagePositionImpl [pageNr=572, messageNr=5902, recordID=-1] on address=jms.queue.item.change queue=jms.queue.item.change

      {code}

       

       

      {code}

      2013-06-26 07:39:18,120  ERROR Thread-3486 (HornetQ-client-global-threads-287276761) org.hornetq.core.server.management.impl.ManagementServiceImpl.sendNotification(ManagementServiceImpl.java:689): HQ224051: Failed to call notification listener

      java.lang.IllegalStateException: Cannot find queue info for queue 0560731c-a634-4c72-8444-878e7fb46040f12e6f7b-c9d7-11e2-b314-c112bd19ac61

              at org.hornetq.core.postoffice.impl.PostOfficeImpl.onNotification(PostOfficeImpl.java:288)

              at org.hornetq.core.server.management.impl.ManagementServiceImpl.sendNotification(ManagementServiceImpl.java:684)

              at org.hornetq.core.postoffice.impl.PostOfficeImpl.removeBinding(PostOfficeImpl.java:537)

              at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.removeBinding(ClusterConnectionImpl.java:1479)

              at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.doBindingRemoved(ClusterConnectionImpl.java:1467)

              at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.onMessage(ClusterConnectionImpl.java:1276)

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

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

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

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

              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:722)

       

      {code}