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'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.9, 4.1.1
    • karaf
    • 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

        1. wrapper-shutdown.xml
          1.0 kB
          John Poth

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: