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

Setting karaf.clean.all = true breaks service wrapper service script

    Details

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

      Description

      The Karaf service wrapper script is generated such that the PID file is created in $KARAF_HOME/data. When setting karaf.clean.all = true then the PID file created by the service script gets deleted together with the data directory. As a result of this the service script reports Karaf as not running and it is not possible to stop the process via the script.

      The PID file location probably should be outside the data directory by default.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                ralfsteppacher Ralf Steppacher
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: