activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQCPP-412) when trying to to close session or conenction when the producer is already down, close call hangs forever
Date Wed, 13 Jun 2012 17:53:42 GMT

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

Timothy Bish commented on AMQCPP-412:
-------------------------------------

There's been a great number of fixes and enhancement to the failover transport as well as
memory management and threading stability in the client since the v3.0 release.  Again my
recommendation would be to move to the latest release in order to catch up with all the fixes.
 One change you can make in the 3.0 code that shouldn't break anything and might resolve the
deadlock is to change the syncRequest call in disposeOf to a oneway call on the transport
since there's not really a need to wait for response in this case. 
                
> when trying to to close session or conenction when the producer is already down, close
call hangs forever
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: AMQCPP-412
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-412
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Integration Tests
>    Affects Versions: 3.0
>         Environment: Unix
>            Reporter: sandeep jain
>            Assignee: Timothy Bish
>              Labels: performance
>
> when trying to close the session on connection when producer is already down, the close
call hangs forever and neither come out of the call nor throw any ex ception.
> backtrace for the same is:
>   0x28bb33ed in activemq::core::ActiveMQConnection::syncRequest ()
>    from libactivemq-cpp.so.1
> #1  0x28bb3949 in activemq::core::ActiveMQConnection::disposeOf ()
>    from libactivemq-cpp.so.1
> #2  0x28bb3ce4 in activemq::core::ActiveMQConnection::disconnect ()
>    from libactivemq-cpp.so.1
> #3  0x28bb7c9a in activemq::core::ActiveMQConnection::close ()
>    from libactivemq-cpp.so.1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message