You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2012/11/01 06:47:18 UTC

[jira] [Resolved] (KARAF-1986) instance.properties file doesn't get updated if karaf.name is changed

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

Freeman Fang resolved KARAF-1986.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.3.1
                   2.2.10

apply patch on behalf of Jonathan Anstey with thanks
http://svn.apache.org/viewvc?rev=1404467&view=rev for 2.2.x branch
http://svn.apache.org/viewvc?rev=1404469&view=rev for 2.3.x branch
http://svn.apache.org/viewvc?rev=1404468&view=rev for trunk
                
> instance.properties file doesn't get updated if karaf.name is changed
> ---------------------------------------------------------------------
>
>                 Key: KARAF-1986
>                 URL: https://issues.apache.org/jira/browse/KARAF-1986
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>            Reporter: Jonathan Anstey
>            Assignee: Freeman Fang
>             Fix For: 2.2.10, 2.3.1, 3.0.0
>
>         Attachments: update_root_name_2.2.x.patch, update_root_name_2.3.x.patch, update_root_name.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira