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 2014/08/08 18:19:12 UTC

[jira] [Resolved] (FELIX-4603) Whiteboard registration might get lost

     [ https://issues.apache.org/jira/browse/FELIX-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved FELIX-4603.
-------------------------------------

    Resolution: Fixed

Fixed in rev 1616812
Also added a test cases showing the problem

> Whiteboard registration might get lost
> --------------------------------------
>
>                 Key: FELIX-4603
>                 URL: https://issues.apache.org/jira/browse/FELIX-4603
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.2.2, http-2.3.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: http-2.4.0
>
>
> If the same service object is registered as a servlet and a filter, one of these registration might get lost if the http service starts after the whiteboard registration. The mapping in ExtenderManager is using the ServiceReference object as the key which is the same. Therefore only one of the mappings is put into the map and when registerAll is called, this is lost



--
This message was sent by Atlassian JIRA
(v6.2#6252)