You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Alexander Osadchiy (Created) (JIRA)" <ji...@apache.org> on 2012/04/12 13:55:16 UTC

[jira] [Created] (KARAF-1360) Configration update doesn't work

Configration update doesn't work
--------------------------------

                 Key: KARAF-1360
                 URL: https://issues.apache.org/jira/browse/KARAF-1360
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.2.6
            Reporter: Alexander Osadchiy


Configuration update doesn't store changes to the persistent storage.

See attached example.

To run example build it with:
mvn install
Then put generated bundle "config-update-1.0.jar" to the deploy folder.

Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg

Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1360) Configration update doesn't work

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252376#comment-13252376 ] 

Jean-Baptiste Onofré commented on KARAF-1360:
---------------------------------------------

You are right, I reproduced it using a simple: log:set DEBUG => the etc/org.ops4j.pax.logging.cfg file is not updated.
                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Jean-Baptiste Onofré
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-1360) Configration update doesn't work

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

Christian Schneider commented on KARAF-1360:
--------------------------------------------

I was able to fix the problem by downgrading felix fileinstall to 3.1.10 in Karaf 2.2.7-SNAPSHOT. So it seems the problem is in fileinstall or the combination of felix fileinstall and felix config admin. On the other hand it shows that felix already handles the writing of config files. So I will try to remove the Karaf code that also does this.
                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1360) Configration update doesn't work

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

Christian Schneider commented on KARAF-1360:
--------------------------------------------

I just tested the provided example on Karaf 2.2.5 and it indeed updates the config file. I have no idea though how this works. When I did the refactoring I did not know that this was expected to work so I did not even check this.
                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1360) Configration update doesn't work

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

Christian Schneider commented on KARAF-1360:
--------------------------------------------

How is this supposed to work? As far as I know the persistent storage is only changed when updating the config using the karaf shell or the karaf config mbean.

                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (KARAF-1360) Configration update doesn't work

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

Christian Schneider resolved KARAF-1360.
----------------------------------------

    Resolution: Fixed

Downgraded felix fileinstall for branches and trunk. On trunk I also removed the complete persistence code in Karaf as it is not needed anymore
                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1360) Configration update doesn't work

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

Andreas Pieber commented on KARAF-1360:
---------------------------------------

would be great if you could also add a itest to the suite validating this behavior and making sure we don't break it again in the future.
                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-1360) Configration update doesn't work

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

Christian Schneider updated KARAF-1360:
---------------------------------------

    Comment: was deleted

(was: How is this supposed to work? As far as I know the persistent storage is only changed when updating the config using the karaf shell or the karaf config mbean.
)
    
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (KARAF-1360) Configration update doesn't work

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

Jamie goodyear closed KARAF-1360.
---------------------------------

    
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Reopened] (KARAF-1360) Configration update doesn't work

Posted by "Jean-Baptiste Onofré (Reopened JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reopened KARAF-1360:
-----------------------------------------

      Assignee: Jean-Baptiste Onofré  (was: Christian Schneider)
    
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-1360) Configration update doesn't work

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

Alexander Osadchiy updated KARAF-1360:
--------------------------------------

    Attachment: test.zip
    
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (KARAF-1360) Configration update doesn't work

Posted by "Jean-Baptiste Onofré (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-1360:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Jean-Baptiste Onofré
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-1360) Configration update doesn't work

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

Christian Schneider updated KARAF-1360:
---------------------------------------

    Comment: was deleted

(was: How is this supposed to work? As far as I know the persistent storage is only changed when updating the config using the karaf shell or the karaf config mbean.
)
    
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-1360) Configration update doesn't work

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

Christian Schneider updated KARAF-1360:
---------------------------------------

    Fix Version/s: 3.0.0
                   2.3.0
                   2.2.7
         Assignee: Christian Schneider  (was: Jean-Baptiste Onofré)
    
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-1360) Configration update doesn't work

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

Christian Schneider commented on KARAF-1360:
--------------------------------------------

How is this supposed to work? As far as I know the persistent storage is only changed when updating the config using the karaf shell or the karaf config mbean.

                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1360) Configration update doesn't work

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255619#comment-13255619 ] 

Jean-Baptiste Onofré commented on KARAF-1360:
---------------------------------------------

I submitted the patch to Felix FileInstall. I tested it, it works fine.
                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (KARAF-1360) Configration update doesn't work

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

Jamie goodyear resolved KARAF-1360.
-----------------------------------

    Resolution: Fixed
    
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-1360) Configration update doesn't work

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

Christian Schneider commented on KARAF-1360:
--------------------------------------------

How is this supposed to work? As far as I know the persistent storage is only changed when updating the config using the karaf shell or the karaf config mbean.

                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Christian Schneider
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1360) Configration update doesn't work

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255587#comment-13255587 ] 

Jean-Baptiste Onofré commented on KARAF-1360:
---------------------------------------------

Downgrading FileInstall is not a good solution as it breaks the support of path containing special characters (like "(x86)" for instance).

I'm going to propose a patch to Felix FileInstall and deal with Guillaume to have a new FileInstall release.
                
> Configration update doesn't work
> --------------------------------
>
>                 Key: KARAF-1360
>                 URL: https://issues.apache.org/jira/browse/KARAF-1360
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Alexander Osadchiy
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>         Attachments: test.zip
>
>
> Configuration update doesn't store changes to the persistent storage.
> See attached example.
> To run example build it with:
> mvn install
> Then put generated bundle "config-update-1.0.jar" to the deploy folder.
> Expected: property "size" value was changed from "500" to "1000" in etc/org.apache.karaf.log.cfg
> Actual: changes are not stored to file, but we can see them in Karaf with "config:list".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira