karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5811) Deadlock when Restarting Karaf
Date Tue, 24 Jul 2018 07:17:00 GMT

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

Guillaume Nodet commented on KARAF-5811:
----------------------------------------

The {{installFeatures}} should not be called while holding the framework lock.
The {{org.apache.karaf.deployer.features.osgi.Activator.doStart}} method should start a thread
to call the {{FeatureDeploymentListener.init}} method in order to not hold the lock.

> Deadlock when Restarting Karaf
> ------------------------------
>
>                 Key: KARAF-5811
>                 URL: https://issues.apache.org/jira/browse/KARAF-5811
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.1.5
>            Reporter: Cetra Free
>            Assignee: Jean-Baptiste Onofré
>            Priority: Critical
>         Attachments: jstack.log, karaf.log
>
>
> When restarting Karaf with features.xml & kar files in the deploy directory, occasionally
when rebooting it gets stuck, and the ssh console is inaccessible.
> This doesn't appear to happen on first boot, only when restarting with deployed kar archives/features. 
It is also intermittent, and doesn't happen all the time.
> I've attached the log output and a jstack dump of when this happens.
> The workaround is to kill off the wrapper & java instance, and restart the service.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message