Qpid
  1. Qpid
  2. QPID-3453

Test PersistentStoreTest fails on java-bdb-spawn.0-10 profile

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10, 0.11, 0.12
    • Fix Version/s: 0.13
    • Component/s: Java Client, Java Tests
    • Labels:
      None

      Description

      The PersistentStoreTest: fails as follows:

      connection closed

      org.apache.qpid.transport.ConnectionException: connection closed
      at org.apache.qpid.transport.Connection.send(Connection.java:358)
      at org.apache.qpid.transport.Session.send(Session.java:498)
      at org.apache.qpid.transport.Session.invoke(Session.java:707)
      at org.apache.qpid.transport.Session.invoke(Session.java:523)
      at org.apache.qpid.transport.SessionInvoker.sessionRequestTimeout(SessionInvoker.java:48)
      at org.apache.qpid.transport.Session.close(Session.java:917)
      at org.apache.qpid.client.AMQSession_0_10.sendClose(AMQSession_0_10.java:388)
      at org.apache.qpid.client.AMQSession.close(AMQSession.java:729)
      at org.apache.qpid.client.AMQSession.close(AMQSession.java:695)
      at org.apache.qpid.client.AMQConnection.closeAllSessions(AMQConnection.java:1147)
      at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1041)
      at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1030)

      On stopping broker, the underlining transport connection is closed and transport session is put into DETACHED state.
      Corresponding AMQSession remains in an open state.
      On invoking of AMQConnection#close() method all open AMQSessions are put into closed state and for each AMQSession method sendClose is invoked.
      AMQSession_0_10#sendClose(long) calls close() method for underlying DETACHED transport session which fails because transport connection is already closed.

        Activity

          People

          • Assignee:
            Keith Wall
            Reporter:
            Alex Rudyy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development