qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5522) TransactionController endless wait when the TCP/IP connection is lost
Date Wed, 29 Jan 2014 13:54:09 GMT

    [ https://issues.apache.org/jira/browse/QPID-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885352#comment-13885352
] 

ASF subversion and git services commented on QPID-5522:
-------------------------------------------------------

Commit 1562444 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1562444 ]

QPID-5522 : TransactionController endless wait when the TCP/IP connection is lost
detect link / session / connection failures when sending to, and expecting a response from,
the transaction controller

> TransactionController endless wait when the TCP/IP connection is lost
> ---------------------------------------------------------------------
>
>                 Key: QPID-5522
>                 URL: https://issues.apache.org/jira/browse/QPID-5522
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.24
>         Environment: Windows, Linux
>            Reporter: daniel
>            Assignee: Rob Godfrey
>
> Endless wait in class org.apache.qpid.amqp_1_0.client.TransactionController
> The following lines of code seem to block the thread forever when the TCP/IP connection
is lost:
> synchronized (this)
>         {
>             while(!_received)
>             {
>                 try
>                 {
>                     wait();
>                 }
>                 catch (InterruptedException e)
>                 {
>                 }
>             }
>         }
> this code is present at discharge() and declare().
> Steps to reproduce:
> 1) Open a connection to a instance of ActiveMQ
> 2) Create transacted session and message producer
> 3) Shut ActiveMQ down
> 4) Send a message with the message producer created on 2)
> 5) Commit session
> 6) Endless wait
> The wait will also happen if the session/connection is closed at 5)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message