You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Allen McIntosh (JIRA)" <ji...@apache.org> on 2017/10/12 23:05:00 UTC

[jira] [Commented] (KARAF-5103) Quick start fails at the step "feature:install camel-spring"

    [ https://issues.apache.org/jira/browse/KARAF-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16202770#comment-16202770 ] 

Allen McIntosh commented on KARAF-5103:
---------------------------------------

I agree with Bob Hong.  It's not fixed.
O/S: Ubuntu 16.04
Karaf: 4.1.2
Karaf documentation: 4.0.3

Both the documentation and Karaf itself were downloaded today (2017/10/12).

First complaint:

karaf@root()><tab>
karaf@root()>

(Nothing was printed)

The documentation still wants me to install camel 2.15.2.  I tried to install 2.18.4 instead as suggested here:

karaf@root()> feature:repo-add camel 2.18.4                                                         
Adding feature url mvn:org.apache.camel.karaf/apache-camel/2.18.4/xml/features
karaf@root()> feature:install camel-spring
karaf@root()> bundle:install -s mvn:org.apache.camel/camel-example-osgi/2.18.4
Bundle IDs: 
Error executing command: Error installing bundles:
	Unable to install bundle mvn:org.apache.camel/camel-example-osgi/2.18.4: org.osgi.framework.BundleException: Unable to cache bundle: mvn:org.apache.camel/camel-example-osgi/2.18.4
karaf@root()> bundle:install -s mvn:org.apache.camel.example/camel-example-osgi/2.18.4
Bundle IDs: 
Error executing command: Error installing bundles:
	Unable to install bundle mvn:org.apache.camel.example/camel-example-osgi/2.18.4: org.osgi.framework.BundleException: Unable to cache bundle: mvn:org.apache.camel.example/camel-example-osgi/2.18.4

This last was suggested by something I saw on another website.  I didn't try 2.15.2 seriously - I didn't like the thought of a version mismatch.


> Quick start fails at the step "feature:install camel-spring"
> ------------------------------------------------------------
>
>                 Key: KARAF-5103
>                 URL: https://issues.apache.org/jira/browse/KARAF-5103
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.1.1
>         Environment: Ubuntu 14.04
>            Reporter: Mike Fogg
>            Assignee: Christian Schneider
>             Fix For: 4.2.0, 4.1.2
>
>
> The quick start results in an error when entering the command to install camel-spring.
> karaf@root()> feature:install camel-spring
> Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-spring; type=karaf.feature; version="[2.15.2,2.15.2]"; filter:="(&(osgi.identity=camel-spring)(type=karaf.feature)(version>=2.15.2)(version<=2.15.2))" [caused by: Unable to resolve camel-spring/2.15.2: missing requirement [camel-spring/2.15.2] osgi.identity; osgi.identity=spring; type=karaf.feature; version="[3.2.0,4.0.0)"]
> It sounds like this is related to KARAF-4730, however since this is the first thing I have tried after installing and is my introduction to Karaf (as it would be presumably for anyone going through the Quick Start), I don't know how I would go about removing the filter from the camel-spring dependency in order to install it.  Considering this is a quick start, I probably shouldn't have to do anything that isn't spelled out in the instructions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)