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

Julius Kabugu updated KARAF-3409:
---------------------------------
    Description: 
Tried to deploy an application using the following features XML:

{code}
<features name="my-features" 
xmlns="http://karaf.apache.org/xmlns/features/v1.2.0";>
  <feature name="my" version="develop-SNAPSHOT" install="auto">
    <bundle start-level="80" start="true" 
dependency="true">file:dependencies/commons-jexl-2.1.1.jar</bundle>
    <bundle start-level="80" start="true" 
dependency="true">file:dependencies/org.apache.servicemix.bundles.junit-4.11_1.jar</bundle>
    <bundle start-level="80" start="true" 
dependency="true">file:dependencies/org.apache.servicemix.bundles.javax-inject-1_2.jar</bundle>
  </feature>
</features>
{code}

Each bundle takes about a minute to turn into installed state.

When you change the handler to mvn: and point to the maven artifact, it goes 
much faster.

  was:
Tried to deploy an application using the following features XML:

{code}
<features name="my-features" 
xmlns="http://karaf.apache.org/xmlns/features/v1.2.0";>
  <feature name="my" version="develop-SNAPSHOT" install="auto">
    <bundle start-level="80" start="true" 
dependency="true">file:dependencies/commons-jexl-2.1.1.jar</bundle>
    <bundle start-level="80" start="true" 
dependency="true">file:dependencies/org.apache.servicemix.bundles.junit-4.11_1.jar</bundle>
        <bundle start-level="80" start="true" 
dependency="true">file:dependencies/org.apache.servicemix.bundles.javax-inject-1_2.jar</bundle>
  </feature>
</features>
{code}

Each bundle takes about a minute to turn into installed state.

When you change the handler to mvn: and point to the maven artifact, it goes 
much faster.


> KARAF 3.0.2: Deploying bundles using the file: handler takes a long time via 
> features xml
> -----------------------------------------------------------------------------------------
>
>                 Key: KARAF-3409
>                 URL: https://issues.apache.org/jira/browse/KARAF-3409
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core, karaf-feature, karaf-osgi
>    Affects Versions: 3.0.2
>            Reporter: Julius Kabugu
>
> Tried to deploy an application using the following features XML:
> {code}
> <features name="my-features" 
> xmlns="http://karaf.apache.org/xmlns/features/v1.2.0";>
>   <feature name="my" version="develop-SNAPSHOT" install="auto">
>     <bundle start-level="80" start="true" 
> dependency="true">file:dependencies/commons-jexl-2.1.1.jar</bundle>
>     <bundle start-level="80" start="true" 
> dependency="true">file:dependencies/org.apache.servicemix.bundles.junit-4.11_1.jar</bundle>
>     <bundle start-level="80" start="true" 
> dependency="true">file:dependencies/org.apache.servicemix.bundles.javax-inject-1_2.jar</bundle>
>   </feature>
> </features>
> {code}
> Each bundle takes about a minute to turn into installed state.
> When you change the handler to mvn: and point to the maven artifact, it goes 
> much faster.



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

Reply via email to