5 Replies Latest reply on Jul 26, 2007 7:09 AM by PÃ¥l Oliver Kristiansen

    Clustered post office exception

    PÃ¥l Oliver Kristiansen Newbie

      Hi !

      Not sure if this is the right board, but here goes.

      We have two nodes running JBoss 4.2.0 with JBoss messaging 1.3.0GA. We have also updated JBoss Remoting to version 2.2.0.SP1.

      Whenever we start up the nodes, the first node spits out the following stacktrace every 3-4 seconds.

      I've searched all that I know and am unable to find any pointers to what causes this. Is it my configuration ?

      2007-07-13 14:34:08,126 ERROR [org.jgroups.protocols.UDP] error processing incoming message
      java.lang.IllegalStateException: org.jboss.messaging.core.local.PagingFilteredQueue
       at org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice.updateQueueStats(DefaultClusteredPostOffice.java:857)
       at org.jboss.messaging.core.plugin.postoffice.cluster.QueueStatsRequest.execute(QueueStatsRequest.java:61)
       at org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice$DataReceiver.receive(DefaultClusteredPostOffice.java:2469)
       at org.jgroups.JChannel.up(JChannel.java:1102)
       at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
       at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.pbcast.GMS.up(GMS.java:768)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:788)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:154)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.FRAG.up(FRAG.java:168)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:258)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.UNICAST.up(UNICAST.java:259)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685)
       at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.FD.up(FD.java:300)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.MERGE2.up(MERGE2.java:162)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.Discovery.up(Discovery.java:225)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.stack.Protocol.up(Protocol.java:547)
       at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
       at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
       at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:908)
       at org.jgroups.protocols.TP.access$900(TP.java:45)
       at org.jgroups.protocols.TP$IncomingMessageHandler.run(TP.java:1344)
       at java.lang.Thread.run(Thread.java:595)


      Thanks !

        • 1. Re: Clustered post office exception
          PÃ¥l Oliver Kristiansen Newbie

          To elaborate, this exception also appears together with the one mentioned in the previous post:

          2007-07-26 11:56:34,862 ERROR [org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice] Caught Exception in Receiver
          java.lang.ClassCastException: org.jboss.messaging.core.local.PagingFilteredQueue
           at org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice.updateQueueStats(DefaultClusteredPostOffice.java:857)
           at org.jboss.messaging.core.plugin.postoffice.cluster.QueueStatsRequest.execute(QueueStatsRequest.java:61)
           at org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice$DataReceiver.receive(DefaultClusteredPostOffice.java:2469)
           at org.jgroups.JChannel.up(JChannel.java:1102)
           at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
           at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.pbcast.GMS.up(GMS.java:768)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:788)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:154)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.FRAG.up(FRAG.java:168)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:258)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.UNICAST.up(UNICAST.java:259)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685)
           at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.FD.up(FD.java:300)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.MERGE2.up(MERGE2.java:162)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.Discovery.up(Discovery.java:225)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.stack.Protocol.up(Protocol.java:547)
           at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
           at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
           at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:908)
           at org.jgroups.protocols.TP.access$900(TP.java:45)
           at org.jgroups.protocols.TP$IncomingMessageHandler.run(TP.java:1344)
           at java.lang.Thread.run(Thread.java:595)
          
          


          • 2. Re: Clustered post office exception
            Tim Fox Master

             

            "twistah" wrote:

            I've searched all that I know and am unable to find any pointers to what causes this.


            http://jira.jboss.com/jira/browse/JBMESSAGING-985

            http://www.jboss.org/index.html?module=bb&op=viewtopic&t=107795

            • 3. Re: Clustered post office exception
              PÃ¥l Oliver Kristiansen Newbie

              Thanks Tim. However my problem seems different.
              I get this stacktrace not only on deploy, but every 3-4 seconds. It really fills my logs. Even though Im running a cluster, my ClusterRouterFactory parameter is set to DefaultRouterFactory, not RoundRobinRouterFactory as in the Jira issue.

              Just to confirm. Is this the same issue? If yes, should I worry ? How can I get rid of it ?

              • 4. Re: Clustered post office exception
                Tim Fox Master

                 

                "twistah" wrote:
                Thanks Tim. However my problem seems different.
                I get this stacktrace not only on deploy, but every 3-4 seconds. It really fills my logs. Even though Im running a cluster, my ClusterRouterFactory parameter is set to DefaultRouterFactory, not RoundRobinRouterFactory as in the Jira issue.

                Just to confirm. Is this the same issue? If yes, should I worry ? How can I get rid of it ?


                I think this is the same issue, it was fixed in 1.4.0.CR1
                See http://jira.jboss.com/jira/browse/JBMESSAGING-985
                1.4.0.GA will be out fairly soon.

                • 5. Re: Clustered post office exception
                  PÃ¥l Oliver Kristiansen Newbie

                  Great, Ill just upgrade when 1.4 is out then.
                  Thanks again Tim !