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

instance.properties file doesn't get updated if karaf.name is changed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.2.10, 2.3.1, 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      By default, the root Karaf instance is named "root" and after startup this appears in instances/instance.properties as:

      item.0.name=root

      Now, if karaf.name is later changed, this file never gets updated with the new name. The only way currently to get instance.properties up to date, is to delete the file so it is regenerated.

        Attachments

        1. update_root_name_2.2.x.patch
          1 kB
          Jonathan Anstey
        2. update_root_name_2.3.x.patch
          1 kB
          Jonathan Anstey
        3. update_root_name.patch
          1 kB
          Jonathan Anstey

          Activity

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              janstey Jonathan Anstey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: