[ https://issues.apache.org/jira/browse/FELIX-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Derek Baum closed FELIX-1946. ----------------------------- > 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 > Assignee: Felix Meschberger > 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.