Hi Christian Are you installing Camel first? This is what people is supposed to do.
eg install this feature first https://github.com/apache/camel/blob/camel-2.15.x/platforms/karaf/features/src/main/resources/features.xml#L30 Then you can install whatever Camel component as you wish. On Sun, Mar 29, 2015 at 10:07 PM, Christian Müller <christian.muel...@gmail.com> wrote: > + 0 > > The signature looks good. > I could install almost all bundles in Karaf 2.4.1. > > Some findings: > The camel-cxf feature doesn't install the camel-spring feature, which is a > required dependency. This leads to errors like this one: > > ERROR: Bundle org.apache.camel.camel-cxf [105] Error starting > mvn:org.apache.camel/camel-cxf/2.15.1 (org.osgi.framework.BundleException: > Unresolved constraint in bundle org.apache.camel.camel-cxf [105]: Unable to > resolve 105.0: missing requirement [105.0] osgi.wiring.package; > (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0)))) > org.osgi.framework.BundleException: Unresolved constraint in bundle > org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing > requirement [105.0] osgi.wiring.package; > (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0))) > at > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299) > at > org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) > at java.lang.Thread.run(Thread.java:745) > ERROR: Bundle org.apache.camel.camel-cxf [105] Error starting/stopping > bundle. (org.osgi.framework.BundleException: Unresolved constraint in > bundle org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing > requirement [105.0] osgi.wiring.package; > (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0)))) > org.osgi.framework.BundleException: Unresolved constraint in bundle > org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing > requirement [105.0] osgi.wiring.package; > (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0))) > at > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) > at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1491) > at > org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:334) > at java.lang.Thread.run(Thread.java:745) > > The work around is easy. Install camel-spring before you install camel-cxf. > I will add this to the known issues section in the Camel 2.15 release notes. > > > The camel-swagger feature doesn't install the scala bundle, which is a > required dependency. This leads to errors like this one: > > ERROR: Bundle org.apache.servicemix.bundles.swagger-core [89] Error > starting > mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.swagger-core/1.3.12_1 > (org.osgi.framework.BundleException: Unresolved constraint in bundle > org.apache.servicemix.bundles.swagger-core [89]: Unable to resolve 89.0: > missing requirement [89.0] osgi.wiring.package; > (&(osgi.wiring.package=scala.reflect.api)(version>=2.10.0)(!(version>=3.0.0)))) > org.osgi.framework.BundleException: Unresolved constraint in bundle > org.apache.servicemix.bundles.swagger-core [89]: Unable to resolve 89.0: > missing requirement [89.0] osgi.wiring.package; > (&(osgi.wiring.package=scala.reflect.api)(version>=2.10.0)(!(version>=3.0.0))) > at > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299) > at > org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) > at java.lang.Thread.run(Thread.java:745) > > I'm wondering, because mvn:org.scala-lang/scala-library/2.10.4 doesn't > export 'scala.reflect.api'... > > > > The Camel documentation still mentions 'Copyright 2007-2014', but I have > updated it now. It should be ok in the following releases... > > Best, > Christian > > > > On Sat, Mar 28, 2015 at 3:22 PM, Willem Jiang <willem.ji...@gmail.com> > wrote: > >> This is a vote to release Apache Camel 2.15.1, a patch release coming >> >> with about 55 issues fixed. >> >> Release notes: >> 2.15.1 >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12329441&styleName=Html&projectId=12311211 >> >> >> >> Staging repo: >> 2.15.1 >> https://repository.apache.org/content/repositories/orgapachecamel-1029 >> >> >> >> Tarballs: >> 2.15.1 >> https://repository.apache.org/content/repositories/orgapachecamel-1029/org/apache/camel/apache-camel/2.14.2/ >> >> >> >> Tag: >> 2.15.1 >> https://git-wip-us.apache.org/repos/asf?p=camel.git;a=commit;h=e18459e53cf77514bb0fdfeceb423c456bbc4d9d >> >> Please test this release candidate and cast your vote. >> [ ] +1 Release the binary as Apache Camel 2.15.1 >> [ ] -1 Veto the release (provide specific comments) >> Vote is open for at least 72 hours. >> >> >> -- >> Willem Jiang >> >> Red Hat, Inc. >> Web: http://www.redhat.com >> Blog: http://willemjiang.blogspot.com (English) >> http://jnn.iteye.com (Chinese) >> Twitter: willemjiang >> Weibo: 姜宁willem >> >> >> >> -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/