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

Reply via email to