You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "楊帆 (JIRA)" <ji...@apache.org> on 2019/01/02 10:18:00 UTC

[jira] [Reopened] (KARAF-6070) deadlock on System.exit()

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

楊帆 reopened KARAF-6070:
-----------------------

help pls

> deadlock on System.exit()
> -------------------------
>
>                 Key: KARAF-6070
>                 URL: https://issues.apache.org/jira/browse/KARAF-6070
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: cellar-4.0.5
>         Environment: window 2012
>            Reporter: 楊帆
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: starter
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In BundleActivator.start(BundleContext), if I get an exception, I use System.exit to make karaf close , but cause a deadlock. Finally, karaf is closed with timeout . I didn't find the relevant log. There is no relevant timeout in the official documentation.
> I have another thread to call System.exit asynchronously to solve this problem, but I don't know if it is correct?
> Thank you!



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