2 Replies Latest reply on Dec 14, 2013 1:06 PM by Kerem Yazici

    camel-cxf-transport 2.12.1 and org.apache.aries.blueprint version 1.1 missing

    Kerem Yazici Newbie

      Hi,

       

      I'm trying to create a REST application using camel-cxf and eventhough it works locally it doesn't work when I deploy it to the karaf container.

      I am using fuse fabric 7.2.0.redhat-057 and when I deploy the application, camel-cxf-transport fails to load


      [  95] [Active     ] [Failure     ] [       ] [   60] camel-cxf-transport (2.12.1)

       

      this is what I've found

       

      camel-cxf-transport (95)

      ------------------------

      Import-Package =

              javax.annotation;version="[0.0,2)",

              javax.xml.namespace,

              org.apache.aries.blueprint;resolution:=optional;version="[1.1,2)",

              org.apache.aries.blueprint.mutable;resolution:=optional;version="[1.0,2)",

              org.apache.camel;version="[2.12,2.13)",

              org.apache.camel.impl;version="[2.12,2.13)",

              org.apache.camel.spi;version="[2.12,2.13)",

              org.apache.camel.util;version="[2.12,2.13)",

              org.apache.cxf;version="[2.6,2.9)",

              org.apache.cxf.binding.soap;version="[2.6,2.9)",

       

      for some reason camel-cxf-transport bundle imports org.apache.aries.blueprint version 1.1

      and one line below org.apache.aries.blueprint.mutable it requires 1.0 which can be resolved

       

      the loaded blueprint api is 1.0.1.redhat-60057

       

         ID   State         Blueprint      Spring    Level  Name

      [   7] [Active     ] [Created     ] [       ] [   20] Apache Aries Blueprint Core (1.0.1.redhat-60057)

      [  10] [Active     ] [            ] [       ] [   20] Apache Aries Blueprint API (1.0.1.redhat-60057)

      [  13] [Active     ] [Created     ] [       ] [   20] Apache Aries Blueprint CM (1.0.1.redhat-60057)

      [  16] [Active     ] [Created     ] [       ] [   28] Apache Karaf :: Deployer :: Blueprint (2.3.0.redhat-60057)

      [  29] [Active     ] [            ] [       ] [   30] Apache Aries JMX Blueprint Core (1.0.1.redhat-60057)

      [  32] [Active     ] [            ] [       ] [   30] Apache Aries JMX Blueprint API (1.0.1.redhat-60057)

      [ 114] [Active     ] [Created     ] [       ] [   60] camel-blueprint (2.12.1)

       

       

      is there any workaround or any suggestions?