You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2015/11/05 13:13:27 UTC

[jira] [Resolved] (KARAF-4094) Multiple shutdown ports opened on 2.4.x when using file lock

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

Gert Vanthienen resolved KARAF-4094.
------------------------------------
    Resolution: Fixed

Fixed in https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commit;h=f5f3e022946e61fd3fdc124915af7c4304803650 by making sure that the shutdown port listener is only set up once while trying to obtain the lock.

> Multiple shutdown ports opened on 2.4.x when using file lock
> ------------------------------------------------------------
>
>                 Key: KARAF-4094
>                 URL: https://issues.apache.org/jira/browse/KARAF-4094
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.4.3
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: 2.4.4
>
>
> When using the file locking mechanism, the passive/slave node will keep on opening ports with the shutdown hook. 
> Adding a guard to prevent the locking loop from setting up multipe shutdown ports/threads should be enough to fix the issue on 2.4.x
> The problem doesn't occur on 3.0.x or above, because of the changes in the locking mechanism implementation.



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