karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-4094) Multiple shutdown ports opened on 2.4.x when using file lock
Date Thu, 05 Nov 2015 12:13:27 GMT

     [ 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)

Mime
View raw message