You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/12/08 03:22:11 UTC

[jira] [Resolved] (KARAF-4138) wrapper:install doesn't work on Windows due to path issues in karaf.home and karaf.data

     [ https://issues.apache.org/jira/browse/KARAF-4138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-4138.
-----------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.4
>
>
> 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)