karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phillip Balli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2882) using OBR resolver in feature files causes timeout to be hit
Date Fri, 04 Apr 2014 00:00:19 GMT
Phillip Balli created KARAF-2882:
------------------------------------

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


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.2#6252)

Mime
View raw message