You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Sascha Vogt (JIRA)" <ji...@apache.org> on 2015/11/23 12:48:11 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15021983#comment-15021983 ] 

Sascha Vogt commented on KARAF-4138:
------------------------------------

Change is caused by this commit: https://github.com/apache/karaf/commit/536e123174c8a46733b1dadaae43a4bafea56e45

> 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é
>
> 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)