Hi

I got the camel-leveldb feature fixed by adjusting the import version
ranges in camel-leveldb.

karaf@root> features:install camel
karaf@root> features:install camel-leveldb
karaf@root> list
START LEVEL 100 , List Threshold: 50
   ID   State         Blueprint      Spring    Level  Name
[  64] [Active     ] [            ] [       ] [   50] camel-core
(2.11.0.SNAPSHOT)
[  65] [Active     ] [Created     ] [       ] [   50]
camel-karaf-commands (2.11.0.SNAPSHOT)
[  72] [Active     ] [            ] [       ] [   50]
geronimo-jta_1.1_spec (1.1.1)
[  73] [Active     ] [            ] [       ] [   50] camel-spring
(2.11.0.SNAPSHOT)
[  74] [Active     ] [Created     ] [       ] [   50] camel-blueprint
(2.11.0.SNAPSHOT)
[  75] [Active     ] [            ] [       ] [   50]
wrap_mvn_org.fusesource.leveldbjni_leveldbjni-all_1.2 (0)
[  76] [Active     ] [            ] [       ] [   50] hawtbuf (1.9.0)
[  77] [Active     ] [            ] [       ] [   50] camel-leveldb
(2.11.0.SNAPSHOT)

Then the wrap bundle of leveldbjni can be installed.



On Sat, Jun 23, 2012 at 12:53 PM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> On Fri, Jun 22, 2012 at 11:51 PM, Christian Müller
> <christian.muel...@gmail.com> wrote:
>> +1
>>
>> My tests/findings:
>>
>> 1) all new components are in the kit
>> 2) I could not install camel-dns in Karaf 2.2.7 (see below)
>>   -> package sun.net.spi.nameservice is neither exported by Karaf nor
>> provided by another bundle
>> 3) I could not install camel-leveldb in Karaf 2.2.7 (see below)
>>   -> wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/1.2 exports the
>> packages without a version which thans doesn't fit into the expected
>> version range
>
> Yeah we need to get the 1.2.0 version in the wrap procotol. But it
> doesn't work and I have logged a JIRA
> https://issues.apache.org/jira/browse/KARAF-1585
>
> We may fix this on the camel-leveldb side, by forcing the osgi
> metadata to have no version ranges.
>
>
>
>> 4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
>>   -> need Spring 3.1.x
>>
>>
>> regarding 2)
>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>>
>>  Apache Karaf (2.2.7)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> features:chooseurl camel 2.10.0
>> adding feature url
>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>> karaf@root> feature:install camel-dns
>> Error executing command: Could not start bundle mvn:dnsjava/dnsjava/2.1.1
>> in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle dnsjava
>> [66]: Unable to resolve 66.0: missing requirement [66.0] package;
>> (package=sun.net.spi.nameservice)
>>
>>
>> regarding 3)
>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>>
>>  Apache Karaf (2.2.7)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> features:chooseurl camel 2.10.0
>> adding feature url
>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>> karaf@root> feature:install camel-leveldb
>> Error executing command: Could not start bundle
>> mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s)
>> camel-leveldb-2.10.0: Unresolved constraint in bundle
>> org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing
>> requirement [68.0] package;
>> (&(package=org.fusesource.leveldbjni)(version>=1.2.0)(!(version>=2.0.0)))
>>
>>
>>
>> regarding 4)
>> ip-109-85-152-102:bin cmueller$ ./karaf clean
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>>
>>  Apache Karaf (2.2.7)
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>
>> karaf@root> features:chooseurl camel 2.10.0
>> adding feature url
>> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
>> karaf@root> feature:install camel-spring-ws
>> Error executing command: Could not start bundle mvn:
>> org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s)
>> camel-spring-ws-2.10.0: Unresolved constraint in bundle
>> org.springframework.ws.xml [102]: Unable to resolve 102.0: missing
>> requirement [102.0] package;
>> (&(package=org.springframework.beans)(version>=3.1.0)(!(version>=4.0.0)))
>>
>> Best,
>> Christian
>>
>> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <hzbar...@gmail.com> wrote:
>>
>>> A new release candidate apache-camel-2.10.0 final is out with
>>> approximately 473 issues resolved so far: improvements and bug fixes [1].
>>>
>>> Please find the staging repo here:
>>> https://repository.apache.org/**content/repositories/**orgapachecamel-251/<https://repository.apache.org/content/repositories/orgapachecamel-251/>
>>>
>>> The tarballs are here
>>> https://repository.apache.org/**content/repositories/**
>>> orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/>
>>>
>>> Tag:
>>> http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/>
>>>
>>> Please review, help out with testing and vote to approve this release
>>> binary. Your vote counts!
>>>
>>> [ ] +1 Release the binary as Apache Camel 2.10.0
>>> [ ] -1 Veto the release (provide specific comments)
>>> Vote is open for at least 72 hours.
>>>
>>> Here's my +1.
>>> Hadrian
>>>
>>> [1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
>>> projectId=12311211&version=**12317612<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612>
>>>
>>> --
>>> Hadrian Zbarcea
>>> Principal Software Architect
>>> Talend, Inc
>>> http://coders.talend.com/
>>> http://camelbot.blogspot.com/
>>>
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cib...@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to