karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 楊帆 (JIRA) <j...@apache.org>
Subject [jira] [Reopened] (KARAF-6070) deadlock on System.exit()
Date Wed, 02 Jan 2019 10:18:00 GMT

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

Mime
View raw message