Qpid
  1. Qpid
  2. QPID-1910

TopicSessionTest testNonMatchingMessagesDoNotFillQueue fails when run with BDB store in broker

    Details

      Description

      This test fails consistently when ant test -Dprofile=java is run against a broker with the bdb store loaded.

      TestName: testTextMessageCreation Duration: 3.113

      Message consumer forcibly closed due to error: org.apache.qpid.AMQDisconnectedException: Server closed connection and reconnection not permitted.

      javax.jms.JMSException: Message consumer forcibly closed due to error: org.apache.qpid.AMQDisconnectedException: Server closed connection and reconnection not permitted.
      at org.apache.qpid.client.BasicMessageConsumer.returnMessageOrThrow(BasicMessageConsumer.java:512)
      at org.apache.qpid.client.BasicMessageConsumer.receive(BasicMessageConsumer.java:408)
      at org.apache.qpid.test.unit.topic.TopicSessionTest.testTextMessageCreation(TopicSessionTest.java:191)
      at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:204)
      at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:249)

      TestName: testNonMatchingMessagesDoNotFillQueue Duration: 3.171
      Woken up due to class javax.jms.JMSException

      org.apache.qpid.AMQException: Woken up due to class javax.jms.JMSException
      at org.apache.qpid.client.util.BlockingWaiter.block(BlockingWaiter.java:207)
      at org.apache.qpid.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListener.java:127)
      at org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:694)
      at org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:648)
      at org.apache.qpid.client.AMQSession_0_8.requestQueueDepth(AMQSession_0_8.java:550)
      at org.apache.qpid.client.AMQSession$7.execute(AMQSession.java:2258)
      at org.apache.qpid.client.AMQSession$7.execute(AMQSession.java:2255)
      at org.apache.qpid.client.failover.FailoverNoopSupport.execute(FailoverNoopSupport.java:67)
      at org.apache.qpid.client.AMQSession.getQueueDepth(AMQSession.java:2253)
      at org.apache.qpid.test.unit.topic.TopicSessionTest.testNonMatchingMessagesDoNotFillQueue(TopicSessionTest.java:410)
      at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:204)
      at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:249)
      Caused by: javax.jms.JMSException: Exception thrown against AMQConnection:
      Host: localhost
      Port: 5672
      Virtual Host: test
      Client ID: clientid
      Active session count: 1: org.apache.qpid.AMQDisconnectedException: Server closed connection and reconnection not permitted.
      at org.apache.qpid.client.AMQConnection.exceptionReceived(AMQConnection.java:1375)
      at org.apache.qpid.client.protocol.AMQProtocolHandler.sessionClosed(AMQProtocolHandler.java:329)
      at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.sessionClosed(AbstractIoFilterChain.java:677)
      at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(AbstractIoFilterChain.java:321)
      at org.apache.mina.common.support.AbstractIoFilterChain.access$900(AbstractIoFilterChain.java:54)
      at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed(AbstractIoFilterChain.java:781)
      at org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClosed(ProtocolCodecFilter.java:280)
      at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(AbstractIoFilterChain.java:321)
      at org.apache.mina.common.support.AbstractIoFilterChain.access$900(AbstractIoFilterChain.java:54)
      at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed(AbstractIoFilterChain.java:781)
      at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:265)
      at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:305)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      at java.lang.Thread.run(Thread.java:619)

        Issue Links

          Activity

          Hide
          Robbie Gemmell added a comment -

          Closing issue out as part of JIRA cleanup. Issue may already be resolved, may be invalid, or may never be fixed. See QPID-3469 for further details.

          Show
          Robbie Gemmell added a comment - Closing issue out as part of JIRA cleanup. Issue may already be resolved, may be invalid, or may never be fixed. See QPID-3469 for further details.

            People

            • Assignee:
              Unassigned
              Reporter:
              Aidan Skinner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development