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

Carlos Rodriguez commented on FELIX-6822:
-----------------------------------------

PR at https://github.com/apache/felix-dev/pull/479

> No default set for Servlet Context Name in 
> HealthCheckExecutorServletConfiguration
> ----------------------------------------------------------------------------------
>
>                 Key: FELIX-6822
>                 URL: https://issues.apache.org/jira/browse/FELIX-6822
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Carlos Rodriguez
>            Priority: Minor
>
> In the configuration for the Health Check Executor Servlet, the property 
> "servletContextName" has as description "Servlet Context Name to register the 
> servlet with. If not specified, the default context is used." - however, if 
> the value is left blank no default value is used.
> https://github.com/apache/felix-dev/blob/master/healthcheck/core/src/main/java/org/apache/felix/hc/core/impl/servlet/HealthCheckExecutorServletConfiguration.java#L29-L30
> As a result the servlet is not properly registered.
> https://github.com/apache/felix-dev/blob/master/healthcheck/core/src/main/java/org/apache/felix/hc/core/impl/servlet/HealthCheckExecutorServlet.java#L231
> The default "org.osgi.service.http" should be used as a context name for it 
> to work properly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to