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] [Updated] (KARAF-5055) Service wrapper shutdown timeout is not taken into account when Karaf's JVM is 'Stopped'
Date Wed, 22 Mar 2017 12:49:41 GMT

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

John Poth updated KARAF-5055:
-----------------------------
    Attachment: wrapper-shutdown.xml

> 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
>         Attachments: wrapper-shutdown.xml
>
>
> 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