Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4235

Windows start script requires data dir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 4.0.3
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            fabianlange Fabian Lange
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: