You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Artyom Stetsenko (JIRA)" <ji...@apache.org> on 2014/07/01 17:21:24 UTC

[jira] [Updated] (SLING-3721) Crankstart does not stop the framework gracefully on exit

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

Artyom Stetsenko updated SLING-3721:
------------------------------------

    Attachment: frameworkShutdown.patch

Attached patch which adds a shutdown hook to the JVM, in which the framework is stopped.

> Crankstart does not stop the framework gracefully on exit
> ---------------------------------------------------------
>
>                 Key: SLING-3721
>                 URL: https://issues.apache.org/jira/browse/SLING-3721
>             Project: Sling
>          Issue Type: Improvement
>          Components: Crankstart
>            Reporter: Artyom Stetsenko
>              Labels: crankstart, framework, shutdown
>         Attachments: frameworkShutdown.patch
>
>
> When Crankstart is terminated manually (e.g. via Ctrl-C), it does not shut down the OSGi framework gracefully, which prevents the OSGi application from running its cleanup routines, if any.



--
This message was sent by Atlassian JIRA
(v6.2#6252)