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

Abhishek Garg commented on FELIX-6360:
--------------------------------------

[~cziegeler] 
1. when i initially started the system. jetty.update() received following 
properties()
{code:java}
org.apache.felix.http.session.timeout = 10 
org.apache.felix.https.jetty.protocols.excluded = [Ljava.lang.String;@17b1af58 
org.apache.felix.proxy.load.balancer.connection.enable = true service.pid = 
org.apache.felix.http
{code}

2. When I update the properties by changing in `Apache Felix Jetty Based Http 
Service` by going to `system/console/configMgr`
JettyConfig.update() receive following properties.
{noformat}
org.apache.felix.http.context_path = /test org.apache.felix.http.enable = true 
org.apache.felix.http.host = 0.0.0.0 org.apache.felix.http.jetty.acceptors = -1 
org.apache.felix.http.jetty.headerBufferSize = 16384 
org.apache.felix.http.jetty.maxFormSize = 204800 
org.apache.felix.http.jetty.requestBufferSize = 8192 
org.apache.felix.http.jetty.responseBufferSize = 24576 
org.apache.felix.http.jetty.selectors = -1 
org.apache.felix.http.jetty.sendServerHeader = false 
org.apache.felix.http.jetty.threadpool.max = -1 org.apache.felix.http.mbeans = 
false org.apache.felix.http.name =  org.apache.felix.http.path_exclusions = 
[Ljava.lang.String;@2ac1ab38 org.apache.felix.http.session.container.attribute 
= [Ljava.lang.String;@6c58b3ad org.apache.felix.http.session.invalidate = true 
org.apache.felix.http.session.timeout = 10 
org.apache.felix.http.session.uniqueid = true org.apache.felix.http.timeout = 
60000 org.apache.felix.http2.enable = false 
org.apache.felix.https.clientcertificate = none org.apache.felix.https.enable = 
false org.apache.felix.https.jetty.ciphersuites.excluded = 
[Ljava.lang.String;@6a630767 org.apache.felix.https.jetty.ciphersuites.included 
= [Ljava.lang.String;@5c352e4b org.apache.felix.https.jetty.protocols.excluded 
= [Ljava.lang.String;@7b0ac69e org.apache.felix.https.jetty.protocols.included 
= [Ljava.lang.String;@52e6d789 org.apache.felix.https.jetty.renegotiateAllowed 
= false org.apache.felix.https.jetty.session.cookie.httpOnly = true 
org.apache.felix.https.jetty.session.cookie.secure = false 
org.apache.felix.https.keystore =  org.apache.felix.https.truststore =  
org.apache.felix.jetty.alpn.defaultProtocol = http/1.1 
org.apache.felix.jetty.alpn.protocols = [Ljava.lang.String;@20ccba8d 
org.apache.felix.jetty.gzip.compressionLevel = -1 
org.apache.felix.jetty.gzip.excludedMethods = [Ljava.lang.String;@55fe8fa9 
org.apache.felix.jetty.gzip.excludedMimeTypes = [Ljava.lang.String;@78ed8dbe 
org.apache.felix.jetty.gzip.excludedPaths = [Ljava.lang.String;@1cd347b5 
org.apache.felix.jetty.gzip.excludedUserAgents = [Ljava.lang.String;@598e8e70 
org.apache.felix.jetty.gzip.includedMethods = [Ljava.lang.String;@78acc12f 
org.apache.felix.jetty.gzip.includedMimeTypes = [Ljava.lang.String;@6c3823f9 
org.apache.felix.jetty.gzip.includedPaths = [Ljava.lang.String;@6a503f24 
org.apache.felix.jetty.gzip.inflateBufferSize = -1 
org.apache.felix.jetty.gzip.minGzipSize = 32 
org.apache.felix.jetty.gzip.syncFlush = false 
org.apache.felix.jetty.gziphandler.enable = false 
org.apache.felix.jetty.http2.initialSessionRecvWindow = 1048576 
org.apache.felix.jetty.http2.initialStreamRecvWindow = 524288 
org.apache.felix.jetty.http2.maxConcurrentStreams = 128 
org.apache.felix.jetty.statisticshandler.enable = false 
org.apache.felix.jetty.stopTimeout = -1 
org.apache.felix.proxy.load.balancer.connection.enable = true 
org.eclipse.jetty.servlet.CheckingRemoteSessionIdEncoding = true 
org.eclipse.jetty.servlet.MaxAge = -1 org.eclipse.jetty.servlet.SessionCookie = 
JSESSIONID org.eclipse.jetty.servlet.SessionDomain =  
org.eclipse.jetty.servlet.SessionIdPathParameterName = jsessionid 
org.eclipse.jetty.servlet.SessionPath =  
org.eclipse.jetty.servlet.SessionScavengingInterval = 600 
org.osgi.service.http.port = 4502 org.osgi.service.http.port.secure = 443 
service.pid = org.apache.felix.http{noformat}
3. when I enable https, Jetty.update() received following properties.
{noformat}
org.apache.felix.https.enable = false service.pid = 
org.apache.felix.http{noformat}
4. when i restarted the system after enabling https, jetty.update() received 
following properties.
{code:java}
org.apache.felix.https.enable = false service.pid = org.apache.felix.http{code}
 

> 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