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

Karaf clean doesn't work if KARAF_DATA and KARAF_BASE point to same dir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0.3
    • 4.0.4
    • karaf
    • None

    Description

      When Karaf is configured with KARAF_DATA and KARAF_BASE pointing to the same directory, Karaf doesn't start when issueing the ./start clean command.

      The clean option executes a rm -Rf "$KARAF_DATA" which deletes the data directory. After this Karaf refuses to start because it cannot find the base directory (which is the same).

      It would be better if the clean option would only delete the directory content and not the folder itself, e.g. using rm -Rf "$KARAF_DATA/**".

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            dvanherbergen Davy Vanherbergen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: