Hi,

After reordering the features I have reached the stage where activemq/5.11.1 is 
the only feature to be installed. This is turning out to be a pain item.
Installation of activemq is failing with strange errors.

2015-08-14 12:39:56,037 | ERROR | nsole user karaf | ShellUtil                  
      | 43 - org.apache.karaf.shell.core - 4.0.0 | Exception caught while 
executing command
org.osgi.service.resolver.ResolutionException: Unable to resolve 
org.apache.cxf.cxf-core/3.1.2: missing requirement 
[org.apache.cxf.cxf-core/3.1.2] osgi.wiring.package; 
filter:="(osgi.wiring.package=org.apache.cxf.workqueue)"
        at 
org.apache.felix.resolver.Candidates.checkSubstitutes(Candidates.java:489)
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:225)
        at 
org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:220)
        at 
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:264)
        at 
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1079)
        at 
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:975)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_67]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_67]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_67]
        at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]

ActiveMQ does not have any dependency with cxf which is already in active state 
. Why is this happening ?

85 | Active   |  40 | 3.1.2                 | Apache CXF Core
86 | Active   |  40 | 3.1.2                 | Apache CXF Runtime Object Binding
87 | Active   |  40 | 3.1.2                 | Apache CXF Runtime SOAP Binding
88 | Active   |  40 | 3.1.2                 | Apache CXF Runtime XML Binding
89 | Active   |  40 | 3.1.2                 | Apache CXF Runtime JAXB 
DataBinding
90 | Active   |  40 | 3.1.2                 | Apache CXF Advanced Logging 
Feature
91 | Active   |  40 | 3.1.2                 | Apache CXF Runtime JAX-RS Frontend
92 | Active   |  40 | 3.1.2                 | Apache CXF Runtime JAX-WS Frontend
93 | Active   |  40 | 3.1.2                 | Apache CXF Runtime Simple Frontend
94 | Active   |  40 | 3.1.2                 | Apache CXF Runtime Management
95 | Active   |  40 | 3.1.2                 | Apache CXF JAX-RS Client
96 | Active   |  40 | 3.1.2                 | Apache CXF JAX-RS Extensions: 
Providers
97 | Active   |  40 | 3.1.2                 | Apache CXF JAX-RS Extensions: 
Search
98 | Active   |  40 | 3.1.2                 | Apache CXF RS XML Security
99 | Active   |  40 | 3.1.2                 | Apache CXF JAX-RS Service 
Description
100 | Active   |  40 | 3.1.2                 | Apache CXF Runtime Security 
functionality
101 | Active   |  40 | 3.1.2                 | Apache CXF Runtime SAML Security 
functionality
102 | Active   |  40 | 3.1.2                 | Apache CXF Runtime HTTP Transport
103 | Active   |  40 | 3.1.2                 | Apache CXF Runtime HTTP Jetty 
Transport
104 | Active   |  40 | 3.1.2                 | Apache CXF Runtime Local 
Transport
105 | Active   |  40 | 3.1.2                 | Apache CXF Runtime WS Addressing
106 | Active   |  40 | 3.1.2                 | Apache CXF Runtime WS Policy
107 | Active   |  40 | 3.1.2                 | Apache CXF Runtime WS Security
108 | Active   |  40 | 3.1.2                 | Apache CXF Runtime Core for WSDL
109 | Active   |  40 | 3.1.2                 | Apache CXF Karaf Commands

Thanks
Jens

From: Jens J Parappallil
Sent: 13 August 2015 10:10
To: '[email protected]'
Subject: Feature Install very slow - Karaf 4.0.0

Hi ,

The new feature installation in Karaf 4.0.0 is taking long time to complete. I 
have created a feature which imports other features (cxf, camel, activmq etc). 
I have noticed that If I call the individual feature it completes faster  
wheras the composite feature takes ages to complete.

Time is spent in the feature resolver as I can see from the thread dumps. I 
have with me a feature file which is totally unusable :( with karaf 4

    at 
org.apache.felix.resolver.ResolverImpl.calculatePackageSpaces(ResolverImpl.java:741)
    at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:251)
    at 
org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:220)
    at 
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:264)
    at 
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1079)
    at 
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:975)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Help.

Regards
Jens


DISCLAIMER: "The information in this e-mail and any attachment is intended only 
for the person to whom it is addressed and may contain confidential and/or 
privileged material. If you have received this e-mail in error, kindly contact 
the sender and destroy all copies of the original communication. IBS makes no 
warranty, express or implied, nor guarantees the accuracy, adequacy or 
completeness of the information contained in this email or any attachment and 
is not liable for any errors, defects, omissions, viruses or for resultant loss 
or damage, if any, direct or indirect."

Reply via email to