[
https://issues.apache.org/jira/browse/FELIX-6360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17233623#comment-17233623
]
Abhishek Garg commented on FELIX-6360:
--------------------------------------
this.context.getProperty("org.apache.felix.http.context_path") is always
returning null value.
If i don't apply my changes then this.config contains two elements after update
{code:java}
org.apache.felix.https.enable = false
service.pid = org.apache.felix.http{code}
after applying [0] changes this.config contains 61 elements after update
{code:java}
org.apache.felix.http.timeout = 60000 org.apache.felix.http.jetty.acceptors =
-1 org.apache.felix.jetty.gzip.excludedMethods = [Ljava.lang.String;@71b4f4d6
org.apache.felix.https.clientcertificate = none
org.apache.felix.jetty.http2.initialSessionRecvWindow = 1048576
org.apache.felix.jetty.gzip.includedMimeTypes = [Ljava.lang.String;@2d6dd659
org.apache.felix.https.jetty.protocols.excluded = [Ljava.lang.String;@316c8511
org.apache.felix.jetty.gzip.includedPaths = [Ljava.lang.String;@59ca3f21
org.apache.felix.jetty.gzip.syncFlush = false
org.apache.felix.jetty.gzip.includedMethods = [Ljava.lang.String;@245e3b7d
org.apache.felix.http.jetty.threadpool.max = -1 org.osgi.service.http.port =
4502 org.apache.felix.jetty.http2.maxConcurrentStreams = 128 service.pid =
org.apache.felix.http org.apache.felix.jetty.alpn.defaultProtocol = http/1.1
org.eclipse.jetty.servlet.CheckingRemoteSessionIdEncoding = true
org.apache.felix.http.enable = true
org.apache.felix.jetty.http2.initialStreamRecvWindow = 524288
org.apache.felix.https.jetty.protocols.included = [Ljava.lang.String;@70ac6644
org.apache.felix.https.keystore =
org.apache.felix.https.jetty.ciphersuites.excluded =
[Ljava.lang.String;@5d808d12 org.apache.felix.http.path_exclusions =
[Ljava.lang.String;@13277f63 org.apache.felix.http.jetty.selectors = -1
org.apache.felix.jetty.stopTimeout = -1
org.apache.felix.jetty.gzip.compressionLevel = -1
org.apache.felix.proxy.load.balancer.connection.enable = false
org.eclipse.jetty.servlet.SessionDomain =
org.apache.felix.https.jetty.renegotiateAllowed = false
org.apache.felix.jetty.statisticshandler.enable = false
org.apache.felix.jetty.gzip.excludedMimeTypes = [Ljava.lang.String;@2425b3fc
org.apache.felix.http.jetty.maxFormSize = 204800
org.apache.felix.http.jetty.sendServerHeader = false
org.apache.felix.jetty.gzip.inflateBufferSize = -1
org.apache.felix.http.jetty.requestBufferSize = 8192
org.apache.felix.jetty.gzip.minGzipSize = 32
org.apache.felix.http.session.container.attribute =
[Ljava.lang.String;@6da5948c org.apache.felix.jetty.gziphandler.enable = false
org.eclipse.jetty.servlet.SessionIdPathParameterName = jsessionid
org.apache.felix.https.jetty.ciphersuites.included =
[Ljava.lang.String;@19183d36 org.apache.felix.http.host = 0.0.0.0
org.apache.felix.http.mbeans = false org.apache.felix.jetty.gzip.excludedPaths
= [Ljava.lang.String;@37a87f7a org.eclipse.jetty.servlet.SessionCookie =
JSESSIONID org.eclipse.jetty.servlet.SessionScavengingInterval = 600
org.apache.felix.jetty.alpn.protocols = [Ljava.lang.String;@299d9d5e
org.eclipse.jetty.servlet.SessionPath = org.apache.felix.http2.enable = false
org.osgi.service.http.port.secure = 443
org.apache.felix.https.jetty.session.cookie.httpOnly = true
org.apache.felix.http.context_path = /test org.apache.felix.https.enable =
false org.apache.felix.http.session.uniqueid = true
org.apache.felix.http.session.invalidate = true org.apache.felix.http.name =
org.apache.felix.http.jetty.headerBufferSize = 16384
org.apache.felix.https.truststore = org.apache.felix.http.session.timeout = 0
org.apache.felix.jetty.gzip.excludedUserAgents = [Ljava.lang.String;@729a73bc
org.eclipse.jetty.servlet.MaxAge = -1
org.apache.felix.https.jetty.session.cookie.secure = false
org.apache.felix.http.jetty.responseBufferSize = 24576{code}
one more observation, even if i apply [0] changes and after enabling https if I
restart the AEM then configurations are set to defaults.
[0]:[https://github.com/apache/felix-dev/pull/61/files]
> 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)