You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2015/04/15 22:59:01 UTC

[jira] [Commented] (QPIDJMS-42) When amqps connection fails, the program never exits?

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

Timothy Bish commented on QPIDJMS-42:
-------------------------------------

Can you package up a little sample app that can reproduce it?  I can take a look later on if there's something I can run real quick.  

> When amqps connection fails, the program never exits?
> -----------------------------------------------------
>
>                 Key: QPIDJMS-42
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-42
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>            Reporter: Jakub Scholz
>
> I have a very simple program - it tries to connect, create session, consumer and read messages in a loop. When exception is raised it tries to close connection (if connection exists) and finishes.
> However, when the attempt to open the SSL connection (amqps) is unsuccessful (for example nobody is listening on the specified port), the program seems to never exit.
> I don't think there is a mistake in my program - it almost looks to me like the problem is the nioEventLoop, which seems to have a thread still running at the end when the program keeps hanging.
> My source code as well as the thread dump can be found here: https://gist.github.com/scholzj/c8a3f3b534bbb0d973d9



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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