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

wrapper:install doesn't work on Windows due to path issues in karaf.home and karaf.data

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.3
    • Fix Version/s: 4.0.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows, Service Installation

      Description

      Between 4.0.2 and 4.0.2 karaf.home and karaf.data changed their format from <drive>:\path\to\karaf to /<drive>:/path/to/karaf/[data/].

      That causes issues in the service-wrapper.exe which is created with wrapper:install (Service doesn't start anymore)

      karaf.home and karaf.data are written to the etc/*-wrapper.conf as set.default.KARAF_HOME and set.default.KARAF_DATA.

      Changing the *-wrapper.conf by removing the first slash fixes the service (<drive>:/path/to/karaf/ instead of /<drive>:...)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                saschavogt Sascha Vogt
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: