[
https://issues.apache.org/jira/browse/KARAF-6999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266857#comment-17266857
]
Jean-Baptiste Onofré commented on KARAF-6999:
---------------------------------------------
The problem is that you don't have pax-url-aether loaded, and your features
definition doesn't look good to me. You should use:
{code:java}
<configuration>
<installedFeatures>
<feature>wrapper</feature>
<feature>aries-blueprint</feature>
<feature>shell-compat</feature>
</installedFeatures>
<startupFeatures>
<feature>eventadmin</feature>
</startupFeatures>
<bootFeatures>
<feature>wrap</feature>
<feature>classpath</feature>
<feature>shell</feature>
<feature>feature</feature>
<feature>jaas</feature>
<feature>ssh</feature>
<feature>management</feature>
<feature>bundle</feature>
<feature>config</feature>
<feature>deployer</feature>
<feature>diagnostic</feature>
<feature>feature</feature>
<feature>instance</feature>
<feature>kar</feature>
<feature>log</feature>
<feature>package</feature>
<feature>service</feature>
<feature>system</feature>
<feature>core-feature-foss</feature>
<feature>core-feature-jackson</feature>
<feature>war</feature>
</bootFeatures>
<libraries>
</libraries>
<javase>1.8</javase>
</configuration> {code}
I strongly advice to not use {{cxf}} feature (meta) but the concrete CXF
features instead (cxf-jaxrs..., etc) depending of your use case.
I also recommend to check the scope of your features XML (dependencies).
If you want to share your pom.xml with me I can help to clean this up.
> Karaf 4.3 install of ActiveMQ Latest (5.16) fails
> -------------------------------------------------
>
> Key: KARAF-6999
> URL: https://issues.apache.org/jira/browse/KARAF-6999
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.3.0
> Reporter: Scott Ortel
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> feature:install activemq-broker
> Error executing command: Unable to resolve root: missing requirement [root]
> osgi.identity; osgi.identity=activemq-broker; type=karaf.feature;
> version="[5.16.0,5.16.0]";
> filter:="(&(osgi.identity=activemq-broker)(type=karaf.feature)(version>=5.16.0)(version<=5.16.0))"
> [caused by: Unable to resolve activemq-broker/5.16.0: missing requirement
> [activemq-broker/5.16.0] osgi.identity; osgi.identity=activemq;
> type=karaf.feature; version="[5.16.0,5.16.0]" [caused by: Unable to resolve
> activemq/5.16.0: missing requirement [activemq/5.16.0] osgi.identity;
> osgi.identity=connector; type=karaf.feature]]
>
> feature:install activemq-client
> Error executing command: Unable to resolve root: missing requirement [root]
> osgi.identity; osgi.identity=activemq-client; type=karaf.feature;
> version="[5.16.0,5.16.0]";
> filter:="(&(osgi.identity=activemq-client)(type=karaf.feature)(version>=5.16.0)(version<=5.16.0))"
> [caused by: Unable to resolve activemq-client/5.16.0: missing requirement
> [activemq-client/5.16.0] osgi.identity; osgi.identity=spring;
> type=karaf.feature; version="[4.0.0,5.0.0)"]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)