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

Reply via email to