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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.3
    • 4.0.4
    • None
    • None
    • 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

              jbonofre Jean-Baptiste Onofré
              svogt Sascha Vogt
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: