Harald Wellmann created KARAF-3730:
--------------------------------------

             Summary: Unnecessary delays when installing feature with file: or 
http: URLs
                 Key: KARAF-3730
                 URL: https://issues.apache.org/jira/browse/KARAF-3730
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 3.0.2
            Reporter: Harald Wellmann


When installing a feature with a {{file:}} URL, there is a 30 s delay.

E.g. using the following feature and installing it via {{feature:install}}.

{code}
<?xml version="1.0" encoding="UTF-8"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"; 
name="test-dependencies">
<feature name="commons-lang3">
<bundle>file:/home/hwellmann/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar</bundle>
</feature>
</features>
{code}

Using the same URL with bundle

{noformat}
karaf@root> bundle:install 
file:/home/hwellmann/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
{noformat}

See also:
* https://ops4j1.jira.com/browse/PAXEXAM-716
* 
http://karaf.922171.n3.nabble.com/30-sec-delay-when-installing-features-using-file-or-http-protocols-td4031572.html

There is no point in waiting for an {{URLStreamHandlerService}} for the 
built-in {{file:}} or {{http:}} protocols, as such handler services do not 
exist. 




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

Reply via email to