2 Replies Latest reply on Nov 26, 2009 9:31 AM by clebert.suconic

    GroupingFailoverReplicationTest

    clebert.suconic

      I was letting both tests here to run in a loop.... and testGroupingLocalHandlerFailsMultipleGroup failed at 462:

       [junit] java.lang.IllegalStateException: no response received from replication
       [junit] at org.hornetq.core.persistence.impl.journal.JournalStorageManager.waitOnOperations(JournalStorageManager.java:339)
       [junit] at org.hornetq.core.management.impl.ManagementServiceImpl.sendNotification(ManagementServiceImpl.java:750)
       [junit] at org.hornetq.core.server.group.impl.LocalGroupingHandler.send(LocalGroupingHandler.java:114)
       [junit] at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.doProposalReceived(ClusterConnectionImpl.java:595)
       [junit] at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.onMessage(ClusterConnectionImpl.java:558)
       [junit] at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:752)
       [junit] at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:44)
       [junit] at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:870)
       [junit] at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
       [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       [junit] at java.lang.Thread.run(Thread.java:619)



      My console output shows two extra messages of those when this happened:



      [junit] java.lang.IllegalStateException: no response received from group handler for id1.queue0
       [junit] at org.hornetq.core.server.group.impl.RemoteGroupingHandler.propose(RemoteGroupingHandler.java:117)
       [junit] at org.hornetq.core.postoffice.impl.BindingsImpl.routeUsingStrictOrdering(BindingsImpl.java:403)
       [junit] at org.hornetq.core.postoffice.impl.BindingsImpl.route(BindingsImpl.java:246)
       [junit] at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:641)
       [junit] at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:542)
       [junit] at org.hornetq.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1972)
       [junit] at org.hornetq.core.server.impl.ServerSessionImpl.handleSend(ServerSessionImpl.java:1478)
       [junit] at org.hornetq.core.server.impl.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:273)
       [junit] at org.hornetq.core.remoting.impl.ChannelImpl.handlePacket(ChannelImpl.java:460)
       [junit] at org.hornetq.core.remoting.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:382)
       [junit] at org.hornetq.core.remoting.impl.RemotingConnectionImpl.access$000(RemotingConnectionImpl.java:41)
       [junit] at org.hornetq.core.remoting.impl.RemotingConnectionImpl$1.run(RemotingConnectionImpl.java:344)
       [junit] at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
       [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       [junit] at java.lang.Thread.run(Thread.java:619)
      


        • 1. Re: GroupingFailoverReplicationTest
          ataylor

          The second exception would only occur if the cluster connection to the backup node wasn't up. This could be something to do with the first exception

          • 2. Re: GroupingFailoverReplicationTest
            clebert.suconic

            This test will always throw this on logs:

            [junit] java.lang.IllegalStateException: no response received from replication
             [junit] at org.hornetq.core.persistence.impl.journal.JournalStorageManager.waitOnOperations(
            JournalStorageManager.java:339)
             [junit] at org.hornetq.core.management.impl.ManagementServiceImpl.sendNotification(Managemen
            tServiceImpl.java:750)
            



            Is that a silent failure or it was supposed to behave this way?