You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andreas Pieber (JIRA)" <ji...@apache.org> on 2010/12/08 08:59:02 UTC

[jira] Created: (KARAF-315) empty config files overwrite default feature settings in ms windows

empty config files overwrite default feature settings in ms windows
-------------------------------------------------------------------

                 Key: KARAF-315
                 URL: https://issues.apache.org/jira/browse/KARAF-315
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.1.2
         Environment: MS Windows7 x86
            Reporter: Andreas Pieber


Ok this one is quite funny, and please dont ask me y this happens but:

Start karaf, create an EMPTY org.ops4j.pax.web.cfg in etc, install war feature. In linux the default params defined in the feature.xml (8181) are loaded here. BUT in windows the port is not loaded. Remove the file, restart the file and it works in windows again; Different approach: add the props in org.ops4j.pax.web.cfg and it also works. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-315) empty config files overwrite default feature settings in ms windows

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

Andreas Pieber commented on KARAF-315:
--------------------------------------

ok, I've debugged this through karaf and it's not karafs fault. Seams to be an error in felix fileinstall? don't know... I hope I find some more time to dig follow the path deeper into felix tonight

> empty config files overwrite default feature settings in ms windows
> -------------------------------------------------------------------
>
>                 Key: KARAF-315
>                 URL: https://issues.apache.org/jira/browse/KARAF-315
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>         Environment: MS Windows7 x86
>            Reporter: Andreas Pieber
>
> Ok this one is quite funny, and please dont ask me y this happens but:
> Start karaf, create an EMPTY org.ops4j.pax.web.cfg in etc, install war feature. In linux the default params defined in the feature.xml (8181) are loaded here. BUT in windows the port is not loaded. Remove the file, restart the file and it works in windows again; Different approach: add the props in org.ops4j.pax.web.cfg and it also works. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-315) empty config files overwrite default feature settings in ms windows

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

Andreas Pieber updated KARAF-315:
---------------------------------

    Fix Version/s:     (was: 2.1.3)
         Priority: Minor  (was: Major)

> empty config files overwrite default feature settings in ms windows
> -------------------------------------------------------------------
>
>                 Key: KARAF-315
>                 URL: https://issues.apache.org/jira/browse/KARAF-315
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>         Environment: MS Windows7 x86
>            Reporter: Andreas Pieber
>            Priority: Minor
>
> Ok this one is quite funny, and please dont ask me y this happens but:
> Start karaf, create an EMPTY org.ops4j.pax.web.cfg in etc, install war feature. In linux the default params defined in the feature.xml (8181) are loaded here. BUT in windows the port is not loaded. Remove the file, restart the file and it works in windows again; Different approach: add the props in org.ops4j.pax.web.cfg and it also works. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (KARAF-315) empty config files overwrite default feature settings in ms windows

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

Guillaume Nodet closed KARAF-315.
---------------------------------

    Resolution: Won't Fix

This is the expected behavior, as the fileinstall won't override an existing configuration.
However, fileinstall 3.1.x won't create a new empty configuration, so if you create an empty file in etc/, no configuration will be created for it.  Last but not least, if you add some config in it and later remove all the entries, fileinstall will keep an empty configuration, which then won't be overriden by the features service.

> empty config files overwrite default feature settings in ms windows
> -------------------------------------------------------------------
>
>                 Key: KARAF-315
>                 URL: https://issues.apache.org/jira/browse/KARAF-315
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>         Environment: MS Windows7 x86
>            Reporter: Andreas Pieber
>            Priority: Minor
>
> Ok this one is quite funny, and please dont ask me y this happens but:
> Start karaf, create an EMPTY org.ops4j.pax.web.cfg in etc, install war feature. In linux the default params defined in the feature.xml (8181) are loaded here. BUT in windows the port is not loaded. Remove the file, restart the file and it works in windows again; Different approach: add the props in org.ops4j.pax.web.cfg and it also works. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-315) empty config files overwrite default feature settings in ms windows

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

Andreas Pieber updated KARAF-315:
---------------------------------

    Fix Version/s: 2.1.3

> empty config files overwrite default feature settings in ms windows
> -------------------------------------------------------------------
>
>                 Key: KARAF-315
>                 URL: https://issues.apache.org/jira/browse/KARAF-315
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>         Environment: MS Windows7 x86
>            Reporter: Andreas Pieber
>             Fix For: 2.1.3
>
>
> Ok this one is quite funny, and please dont ask me y this happens but:
> Start karaf, create an EMPTY org.ops4j.pax.web.cfg in etc, install war feature. In linux the default params defined in the feature.xml (8181) are loaded here. BUT in windows the port is not loaded. Remove the file, restart the file and it works in windows again; Different approach: add the props in org.ops4j.pax.web.cfg and it also works. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.