You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "John Poth (JIRA)" <ji...@apache.org> on 2017/03/22 12:42:41 UTC

[jira] [Created] (KARAF-5055) Service wrapper shutdown timeout is not taken into account when Karaf's JVM is 'Stopped'

John Poth created KARAF-5055:
--------------------------------

             Summary: Service wrapper shutdown timeout is not taken into account when Karaf's JVM is 'Stopped'
                 Key: KARAF-5055
                 URL: https://issues.apache.org/jira/browse/KARAF-5055
             Project: Karaf
          Issue Type: Bug
          Components: karaf-os-integration
            Reporter: John Poth


To reproduce, install the attached blueprint and start Karaf using the Service Wrapper. Then:
\\
* bin/karaf-service stop and then immediately
* kill -STOP $karaf_jvm_pid

You'll notice that the Karaf JVM will be killed using SIGTERM regardless of the shutdown timeouts set in both the Service wrapper settings file (karaf-wrapper.conf) and karaf. This doesn't allow for graceful shutdown.

I can provide a PR.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)