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

This is documented in the feature

karaf@root> features:info camel-dns
Description of camel-dns 2.11-SNAPSHOT feature
----------------------------------------------------------------
The camel-dns feature can only run on a SUN JVM. You need to ddd the
package sun.net.spi.nameservice to the java platform packages in the
etc/jre.properties file.
----------------------------------------------------------------
Feature has no configuration
Feature has no configuration files
Feature depends on:
  camel-core 2.11-SNAPSHOT
Feature contains followed bundles:
 mvn:dnsjava/dnsjava/2.1.1 start-level=50
 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.junit/4.10_1
start-level=50
 mvn:org.apache.camel/camel-dns/2.11-SNAPSHOT start-level=50


eg we have included details in the features.xml file about this.

  <feature name='camel-dns' version='2.11-SNAPSHOT' resolver='(obr)'
start-level='50'>
        <details>The camel-dns feature can only run on a SUN JVM. You need to
ddd the package sun.net.spi.nameservice to the java platform packages
in the etc/jre.properties file.</details>
    <bundle dependency='true'>mvn:dnsjava/dnsjava/2.1.1</bundle>
    <bundle 
dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.junit/4.10_1</bundle>
    <feature version='2.11-SNAPSHOT'>camel-core</feature>


> 4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
>   -> need Spring 3.1.x
>

This is documented in the release notes. Spring WS 2.0.5 now requires
Spring 3.1+
So you need to install spring 3.1 beforehand.

What we need from Karaf is maybe a spring-31 feature we can depend on
instead of spring, which is 3.0+.
Then the spring-ws feature could depend on spring-31.

An alternative would be revert back to Spring WS 2.0.3 (from 2.9.x
release). As it supports spring 3.0 as well.
I am not sure if any important bugs is fixed in 2.0.5 since. But I
guess its bad practice from the Spring guys to
do this upgrade in WS, which IMHO they should have done in Spring WS
2.1.0 instead.



karaf@root> features:info camel-spring-ws
Description of camel-spring-ws 2.11-SNAPSHOT feature
----------------------------------------------------------------
Feature has no configuration
Feature has no configuration files
Feature depends on:
  camel-spring 2.11-SNAPSHOT
  spring-jms [3,4)
  spring-web [3,4)
  spring-oxm [3,4)
Feature contains followed bundles:
 mvn:javax.mail/mail/1.4.5 start-level=50
 mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1 start-level=50
 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.smack/3.2.1_1
start-level=50
 mvn:org.springframework.ws/spring-xml/2.0.5.RELEASE start-level=50
 mvn:org.springframework.ws/spring-ws-core/2.0.5.RELEASE start-level=50
 mvn:org.springframework.ws/spring-ws-support/2.0.5.RELEASE start-level=50
 mvn:org.apache.camel/camel-spring-ws/2.11-SNAPSHOT start-level=50


>
> 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

Reply via email to