You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/12/15 06:36:13 UTC

[jira] [Updated] (KARAF-2882) using OBR resolver in feature files causes timeout to be hit

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

Jean-Baptiste Onofré updated KARAF-2882:
----------------------------------------
    Fix Version/s:     (was: 2.4.1)
                   2.4.2

> using OBR resolver in feature files causes timeout to be hit
> ------------------------------------------------------------
>
>                 Key: KARAF-2882
>                 URL: https://issues.apache.org/jira/browse/KARAF-2882
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 3.0.0
>            Reporter: Phillip Balli
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.3, 2.3.10, 2.4.2
>
>
> When the features service installs a bundle resolved via OBR whose source is an "http" url (like when pointing to a karaf-cave server), it (karaf.features.internal.BundleManager) will wait for a service with the property url.handler.protocol=http to become available. Because there is no such service, a 30s timeout will hit for every obr-sourced bundle.
>  
> I believe this is because url handlers for http, https, etc. are provided by default by felix. I'm not sure if these handlers were intended to be discoverable via properties in karaf.
> I have made a change to waitForUrlHandler to not wait for "default" protocols.



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