You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Fabian Lange (JIRA)" <ji...@apache.org> on 2015/12/22 22:00:47 UTC

[jira] [Created] (KARAF-4235) WIndows start script requires data dir

Fabian Lange created KARAF-4235:
-----------------------------------

             Summary: WIndows start script requires data dir
                 Key: KARAF-4235
                 URL: https://issues.apache.org/jira/browse/KARAF-4235
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 4.0.3
            Reporter: Fabian Lange


I am observing the following problem

On linux, if I delete the data dir, it is recreated.
On Windows, if I run the start.bat, the output is:

karaf.bat: Ignoring predefined value for KARAF_HOME
karaf.bat: KARAF_DATA is not valid: "C:\Users\Fabian\Downloads\apache-karaf-4.0.3\bin\..\data"
C:\Users\Fabian\Downloads\apache-karaf-4.0.3\bin>

I checked the difference, and right now I am actually wondering more why it works on linux, rather than why it doesn't on windows, but I think also n windows the data dir should be recreated.

STR:
Download Karaf 4.0.3 on windows.
unpack and delete data dir.
try to run start.bat


running karaf.bat will work however





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