You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jonathan Anstey (JIRA)" <ji...@apache.org> on 2012/10/31 18:17:28 UTC

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

Jonathan Anstey created KARAF-1986:
--------------------------------------

             Summary: 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


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

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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned KARAF-1986:
-----------------------------------

    Assignee: Freeman Fang
    
> 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
>         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

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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey updated KARAF-1986:
-----------------------------------

    Attachment: update_root_name_2.2.x.patch
                update_root_name_2.3.x.patch

Patches for the 2.3.x/2.2.x branches.
                
> 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
>         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

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

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey updated KARAF-1986:
-----------------------------------

    Attachment: update_root_name.patch

Patch to update root name in instance.properties if karaf.name changes. This is for trunk, looking into backporting this to other branches now.
                
> 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
>         Attachments: 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

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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-1986 started by Freeman Fang.

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

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

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488620#comment-13488620 ] 

Jonathan Anstey commented on KARAF-1986:
----------------------------------------

Thanks Freeman.
                
> 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