You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2016/12/12 09:38:59 UTC

[jira] [Commented] (FELIX-5415) HTTP leaves extra service registrations when configured with config admin

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

Carsten Ziegeler commented on FELIX-5415:
-----------------------------------------

[~bimargulies@gmail.com] Are you saying that you end up with two services only if the port numbers are the same?

> HTTP leaves extra service registrations when configured with config admin
> -------------------------------------------------------------------------
>
>                 Key: FELIX-5415
>                 URL: https://issues.apache.org/jira/browse/FELIX-5415
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.jetty-3.4.0
>            Reporter: Benson Margulies
>
> If you set org.osgi.service.http.port to a port with configuration admin, you will end up with multiple registrations of the service. One is created for the port number that is visible from framework properties, the second from the configuration admin information. If those ports are different, only the second will be actually listening in jetty. The evidence is visible from the gogo inspect command.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)