karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Poth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5055) Service wrapper shutdown timeout is not taken into account when Karaf's JVM is 'Stopped'
Date Wed, 22 Mar 2017 12:42:41 GMT
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)

Mime
View raw message