You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2014/06/02 21:17:02 UTC

[jira] [Closed] (UIMA-3843) UIMA-AS should close connection on exception in JmsEndpointConnection_impl.openChannel()

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

Jerry Cwiklik closed UIMA-3843.
-------------------------------

    Resolution: Fixed

closes jms connection if there is an exception in openChannel()

> UIMA-AS should close connection on exception in JmsEndpointConnection_impl.openChannel()
> ----------------------------------------------------------------------------------------
>
>                 Key: UIMA-3843
>                 URL: https://issues.apache.org/jira/browse/UIMA-3843
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.4.2AS
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.6.0AS
>
>
> The code should close a jms connection on exception in JmsEndpointConnection_impl.openChannel(). The ActivemMQConnection creates a "regular" (non-daemon) thread in its constructor which must be shutdown via a call to close(). If not done a thread leak can occur.



--
This message was sent by Atlassian JIRA
(v6.2#6252)