Just as Dan said we don't need that import, as the CXF bus will take care of it. @Christian, I will revisit this issue when I get some time today.
-- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Wednesday, April 10, 2013 at 4:13 AM, Daniel Kulp wrote: > > On Apr 9, 2013, at 3:16 PM, Christian Müller <christian.muel...@gmail.com > (mailto:christian.muel...@gmail.com)> wrote: > > > dev:dynamic-import <camel-example-cxf-osgi (2.10.4) ID> will resolve this > > issue. It's the missing import of > > > > Apache CXF Runtime Core (116): META-INF.cxf; version=2.6.6 > > > > which cause this issue. > > I will resolve this for Camel 2.10.5 and 2.11.1 and add a note to the know > > issues. Thanks for reporting! > > > > This shouldn't be an issue for 2.11 as that import was removed from the > spring.xml. > > Dan > > > > > > Best, > > Christian > > > > > > On Tue, Apr 9, 2013 at 1:04 AM, Krzysztof Sobkowiak < > > krzys.sobkow...@gmail.com (mailto:krzys.sobkow...@gmail.com)> wrote: > > > > > ** > > > > > > Hi > > > > > > > > > > > > I'm trying to deploy camel-example-cxf-osgi/2.10.4 on Karaf 2.3.1 or SMX > > > 4.5.1 using following commands (as described in > > > http://camel.apache.org/cxf-example-osgi.html) > > > > > > > > > > > > in Karaf i have to add Camel features first > > > > > > features:chooseurl camel 2.10.4 > > > > > > > > > > > > and next (Karaf or SMX) > > > > > > > > > > > > > > > > > > features:install war > > > > > > features:install cxf > > > > > > features:install camel-spring > > > > > > features:install camel-jaxb > > > > > > features:install camel-cxf > > > > > > osgi:install -s mvn:org.apache.camel/camel-example-cxf-osgi/2.10.4 > > > > > > After installing the sample bundle the spring context fails to start > > > > > > [ 176] [Active ] [ ] [Failed ] [ 80] camel-example-cxf-osgi (2.10.4) > > > > > > In the log file I can see following error (full stacktrace attached) > > > > > > > > > > > > Caused by: java.io.FileNotFoundException: OSGi > > > resource[classpath:META-INF/cxf/cxf.xml|bnd.id=176|bnd.sym=org.apache.camel.camel-example-cxf-osgi] > > > cannot be resolved to URL because it does not exist > > > > > > > > > I could successfully install the camel-example-cxf-osgi/2.9.0 > > > > > > I thing my problem is caused by > > > https://issues.apache.org/jira/browse/CAMEL-5441 which removes the > > > META-INF.cxf from the imports of the example bundle > > > (https://github.com/apache/camel/commit/73c3d4fd2a306557be8f79b502697fe3cd475695#examples/camel-example-cxf-osgi/pom.xml) > > > > > > Was this removal correct? I don't understand why this files should by > > > loaded by Spring DM and why it is not necessary to import them. > > > > > > Could you write me the correct steps for successful installation of the > > > sample? > > > > > > > > > Best regards > > > > > > Krzysztof > > -- > Daniel Kulp > dk...@apache.org - http://dankulp.com/blog > Talend Community Coder - http://coders.talend.com