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

Sten Roger Sandvik commented on FELIX-1946:
-------------------------------------------


You are right. The message appears always. Will schedule this fix for version 
2.0.6.

> jetty http service issues 'started' message when disabled
> ---------------------------------------------------------
>
>                 Key: FELIX-1946
>                 URL: https://issues.apache.org/jira/browse/FELIX-1946
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.0.4
>            Reporter: Derek Baum
>            Priority: Minor
>             Fix For: http-2.0.6
>
>
> I want to configure the felix jetty http service using config admin, so I set 
> the following properties to stop it from starting automatically:
> org.osgi.service.http.port = -1
> org.apache.felix.http.enable = false
> However, when the bundle is activated, it still reports that it has started:
> % [INFO] Started jetty 6.1.x at port -1
> A 'Jetty HTTP Service' thread is actually started, but as http is not 
> enabled, no http server connector is created.
> The above 'Started' message should not appear when http (and https) are 
> disabled, and it would be good if the 'Jetty HTTP Service' was not created 
> until the service is enabled using config admin, for example:
> % setpid org.apache.felix.http org.osgi.service.http.port==1234 
> org.apache.felix.http.enable==true
> % [INFO] Started jetty 6.1.x at port 1234

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