You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2011/08/24 19:02:29 UTC

[jira] [Updated] (QPID-3453) Test PersistentStoreTest fails on java-bdb-spawn.0-10 profile

     [ https://issues.apache.org/jira/browse/QPID-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-3453:
-----------------------------

    Attachment: 0001-Fixes-an-issue-with-closing-of-detached-session.patch

Attached a patch with a fix

> Test PersistentStoreTest fails on java-bdb-spawn.0-10 profile
> -------------------------------------------------------------
>
>                 Key: QPID-3453
>                 URL: https://issues.apache.org/jira/browse/QPID-3453
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, Java Tests
>    Affects Versions: 0.10, 0.11, 0.12
>            Reporter: Alex Rudyy
>            Priority: Minor
>         Attachments: 0001-Fixes-an-issue-with-closing-of-detached-session.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org