Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5055

Service wrapper shutdown timeout is not taken into account when Karaf's JVM is 'Stopped'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.9, 4.1.1
    • Component/s: karaf
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                jpoth John Poth
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: