Hi all,
I'm trying to install camel-spring 2.8.0 on karaf 2.2.3 using features.
That's what I'm doing:
karaf@root> features:addurl
mvn:org.apache.camel.karaf/apache-camel/2.8.0/xml/features
karaf@root> features:install camel-core
karaf@root> osgi:list
START LEVEL 100 , List Threshold: 50
ID State Blueprint Spring Level Name
[ 141] [Active ] [Created ] [ ] [ 50]
camel-karaf-commands (2.8.0)
[ 150] [Active ] [ ] [ ] [ 60] Apache ServiceMix
:: Bundles :: aopalliance (1.0.0.5)
[ 151] [Active ] [ ] [ ] [ 60] Spring Core
(3.0.6.RELEASE)
[ 152] [Active ] [ ] [ ] [ 60] Spring ASM
(3.0.6.RELEASE)
[ 153] [Active ] [ ] [ ] [ 60] Spring Expression
Language (3.0.6.RELEASE)
[ 154] [Active ] [ ] [ ] [ 60] Spring Beans
(3.0.6.RELEASE)
[ 155] [Active ] [ ] [ ] [ 60] Spring AOP
(3.0.6.RELEASE)
[ 156] [Active ] [ ] [ ] [ 60] Spring Context
(3.0.6.RELEASE)
[ 157] [Active ] [ ] [ ] [ 60] Spring Context
Support (3.0.6.RELEASE)
[ 158] [Active ] [ ] [ ] [ 50] Apache ServiceMix
:: Specs :: Activation API 1.4 (1.8.0)
[ 159] [Active ] [ ] [ ] [ 50] Apache ServiceMix
:: Specs :: JAXB API 2.2 (1.8.0)
[ 160] [Active ] [ ] [ ] [ 50] Apache ServiceMix
:: Specs :: Stax API 1.0 (1.8.0)
[ 161] [Active ] [ ] [ ] [ 50] Apache ServiceMix
:: Bundles :: jaxb-impl (2.2.1.1_1)
[ 162] [Active ] [ ] [ ] [ 50] Commons Management
(1.0)
[ 163] [Active ] [ ] [ ] [ 50] camel-core (2.8.0)
camel-core is running. Now let's install camel-spring:
karaf@root> features:install camel-spring
Refreshing bundles org.springframework.beans (154),
org.springframework.context (156), org.springframework.aop (155)
Error executing command: Could not start bundle
mvn:org.springframework/spring-tx/3.0.5.RELEASE in feature(s)
camel-jms-2.8.0, camel-sql-2.8.0, camel-bam-2.8.0, camel-spring-2.8.0,
camel-jpa-2.8.0, spring-jms-3.0.5.RELEASE: Unresolved constraint in
bundle org.springframework.transaction [178]: Unable to resolve 178.0:
missing requirement [178.0] package;
(&(package=org.springframework.beans)(version>=3.0.5)(!(version>=3.0.6)))
Are there version issues? The installed spring version is 3.0.6 but with
installing camel-spring he needs spring-jms and spring-tx as 3.0.5.RELEASE.
Best regards - Claus