karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sascha Vogt (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4138) wrapper:install doesn't work on Windows due to path issues in karaf.home and karaf.data
Date Mon, 23 Nov 2015 10:09:10 GMT
Sascha Vogt created KARAF-4138:
----------------------------------

             Summary: wrapper:install doesn't work on Windows due to path issues in karaf.home
and karaf.data
                 Key: KARAF-4138
                 URL: https://issues.apache.org/jira/browse/KARAF-4138
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 4.0.3
         Environment: Windows, Service Installation
            Reporter: Sascha Vogt


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>:...)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message