[ 
https://issues.apache.org/jira/browse/FELIX-6360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17233268#comment-17233268
 ] 

Carsten Ziegeler edited comment on FELIX-6360 at 11/17/20, 7:49 AM:
--------------------------------------------------------------------

I think the current implementation is correct - the OSGi configuration always 
contains the full set of properties - if the incoming (new) configuration does 
not contain all properties or the default values for some properties, then this 
is a problem with that configuration but not how it is handled.
If you restart the application, there is no old configuration and the new 
configuration will be applied as is
Maybe it helps if you dump out both configurations old and new

If the context gets reset, could it be that the context is set using a 
framework property? The new configuration is submitted via the web console and 
therefore resetting the value?


was (Author: cziegeler):
I think the current implementation is correct - the OSGi configuration always 
contains the full set of properties - if the incoming (new) configuration does 
not contain all properties or the default values for some properties, then this 
is a problem with that configuration but not how it is handled.
If you restart the application, there is no old configuration and the new 
configuration will be applied as is
Maybe it helps if you dump out both configurations old and new

> Context gets removed when setting up SSL
> ----------------------------------------
>
>                 Key: FELIX-6360
>                 URL: https://issues.apache.org/jira/browse/FELIX-6360
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.jetty-4.1.2
>            Reporter: Abhishek Garg
>            Priority: Major
>
> when someone switches from http to https all the configurations related to 
> jetty gets overridden with default values.should we first apply already 
> existing configuration and then new configuration at [0].
> [0]: 
> [https://github.com/apache/felix-dev/blob/master/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyConfig.java#L778]
> [1] : 
> [https://github.com/apache/felix-dev/blob/master/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java#L180]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to