Camel
  1. Camel
  2. CAMEL-4818

camel-hdfs/camel-soap features require JAXB definition

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.3, 2.9.0
    • Fix Version/s: 2.8.4, 2.9.0
    • Component/s: camel-hdfs, karaf
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The camel-hdfs and camel-soap features don't install out of the box:

      Error executing command: Could not start bundle mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.9.0 in feature(s) camel-soap-2.9-SNAPSHOT, camel-hdfs-2.9-SNAPSHOT, cxf-specs-2.5.1: Unresolved constraint in bundle org.apache.servicemix.specs.jaxws-api-2.2 [88]: Unable to resolve 88.0: missing requirement [88.0] package; (&(package=javax.xml.bind)(version>=2.2.0))

      The ServiceMix JAXWS specs require a JAXB 2.2.x implementation available.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        19h 44m 1 Jean-Baptiste Onofré 23/Dec/11 15:56
        Resolved Resolved Reopened Reopened
        8s 1 Jean-Baptiste Onofré 23/Dec/11 15:56
        Reopened Reopened Resolved Resolved
        24m 54s 1 Jean-Baptiste Onofré 23/Dec/11 16:21
        Hide
        Christian Müller added a comment -

        It works also with the brand new Karaf 2.2.5:

        Christian-Muellers-MacBook-Pro:bin cmueller$ /Applications/apache-karaf-2.2.5/bin/karaf clean
        __ __ ____
        / ///___ __________ _/ __/
        / ,< / __ `/ __/ __ `/ /
        / /| |/ // / / / // / __/
        // ||_,// _,//

        Apache Karaf (2.2.5)

        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:addurl mvn:org.apache.camel.karaf/apache-camel/2.9-SNAPSHOT/xml/features
        karaf@root> features:install camel-soap

        Christian-Muellers-MacBook-Pro:bin cmueller$ /Applications/apache-karaf-2.2.5/bin/karaf clean
        __ __ ____
        / ///___ __________ _/ __/
        / ,< / __ `/ __/ __ `/ /
        / /| |/ // / / / // / __/
        // ||_,// _,//

        Apache Karaf (2.2.5)

        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:addurl mvn:org.apache.camel.karaf/apache-camel/2.9-SNAPSHOT/xml/features
        karaf@root> features:install camel-hdfs
        2011-12-26 17:43:29.653:INFO:oejs.Server:jetty-7.5.4.v20111024
        2011-12-26 17:43:29.672:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8181 STARTING
        2011-12-26 17:43:29.805:INFO:oejsh.ContextHandler:started HttpServiceContext{httpContext=DefaultHttpContext{bundle=org.apache.karaf.deployer.features [34]}}

        Show
        Christian Müller added a comment - It works also with the brand new Karaf 2.2.5: Christian-Muellers-MacBook-Pro:bin cmueller$ /Applications/apache-karaf-2.2.5/bin/karaf clean __ __ ____ / // / ___ __________ _/ __/ / ,< / __ `/ __ / __ `/ / / /| |/ / / / / / / / / __/ / / | |_ , / / _ , / / Apache Karaf (2.2.5) 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:addurl mvn:org.apache.camel.karaf/apache-camel/2.9-SNAPSHOT/xml/features karaf@root> features:install camel-soap Christian-Muellers-MacBook-Pro:bin cmueller$ /Applications/apache-karaf-2.2.5/bin/karaf clean __ __ ____ / // / ___ __________ _/ __/ / ,< / __ `/ __ / __ `/ / / /| |/ / / / / / / / / __/ / / | |_ , / / _ , / / Apache Karaf (2.2.5) 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:addurl mvn:org.apache.camel.karaf/apache-camel/2.9-SNAPSHOT/xml/features karaf@root> features:install camel-hdfs 2011-12-26 17:43:29.653:INFO:oejs.Server:jetty-7.5.4.v20111024 2011-12-26 17:43:29.672:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8181 STARTING 2011-12-26 17:43:29.805:INFO:oejsh.ContextHandler:started HttpServiceContext{httpContext=DefaultHttpContext{bundle=org.apache.karaf.deployer.features [34] }}
        Hide
        Christian Müller added a comment -

        It also works with the latest 2.8.4-SNAPSHOT version on Karaf 2.2.4 and MacOS:

        Christian-Muellers-MacBook-Pro:bin cmueller$ ./karaf clean
        karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.4-SNAPSHOT/xml/features
        karaf@root> features:install camel-soap

        Christian-Muellers-MacBook-Pro:bin cmueller$ ./karaf clean
        karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.4-SNAPSHOT/xml/features
        karaf@root> features:install camel-hdfs

        Show
        Christian Müller added a comment - It also works with the latest 2.8.4-SNAPSHOT version on Karaf 2.2.4 and MacOS: Christian-Muellers-MacBook-Pro:bin cmueller$ ./karaf clean karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.4-SNAPSHOT/xml/features karaf@root> features:install camel-soap Christian-Muellers-MacBook-Pro:bin cmueller$ ./karaf clean karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.4-SNAPSHOT/xml/features karaf@root> features:install camel-hdfs
        Hide
        Christian Müller added a comment -

        I tested it with Karaf 2.2.4 and Camel 2.9 on MacOS and it works well (with the actual code in trunk):

        Christian-Muellers-MacBook-Pro:bin cmueller$ ./karaf clean
        karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.9-SNAPSHOT/xml/features
        karaf@root> features:install camel-hdfs

        Christian-Muellers-MacBook-Pro:bin cmueller$ ./karaf clean
        karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.9-SNAPSHOT/xml/features
        karaf@root> features:install camel-soap

        Show
        Christian Müller added a comment - I tested it with Karaf 2.2.4 and Camel 2.9 on MacOS and it works well (with the actual code in trunk): Christian-Muellers-MacBook-Pro:bin cmueller$ ./karaf clean karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.9-SNAPSHOT/xml/features karaf@root> features:install camel-hdfs Christian-Muellers-MacBook-Pro:bin cmueller$ ./karaf clean karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.9-SNAPSHOT/xml/features karaf@root> features:install camel-soap
        Jean-Baptiste Onofré made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on camel-2.8.x: revision 1222723.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on camel-2.8.x: revision 1222723.
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on trunk: revision 1222709.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on trunk: revision 1222709.
        Jean-Baptiste Onofré made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jean-Baptiste Onofré made changes -
        Field Original Value New Value
        Summary camel-hdfs feature require JAXB definition camel-hdfs/camel-soap features require JAXB definition
        Description The camel-hdfs feature doesn't install out of the box:

        Error executing command: Could not start bundle mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.9.0 in feature(s) camel-soap-2.9-SNAPSHOT, camel-hdfs-2.9-SNAPSHOT, cxf-specs-2.5.1: Unresolved constraint in bundle org.apache.servicemix.specs.jaxws-api-2.2 [88]: Unable to resolve 88.0: missing requirement [88.0] package; (&(package=javax.xml.bind)(version>=2.2.0))

        The ServiceMix JAXWS specs require a JAXB 2.2.x implementation available.
        The camel-hdfs and camel-soap features don't install out of the box:

        Error executing command: Could not start bundle mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.9.0 in feature(s) camel-soap-2.9-SNAPSHOT, camel-hdfs-2.9-SNAPSHOT, cxf-specs-2.5.1: Unresolved constraint in bundle org.apache.servicemix.specs.jaxws-api-2.2 [88]: Unable to resolve 88.0: missing requirement [88.0] package; (&(package=javax.xml.bind)(version>=2.2.0))

        The ServiceMix JAXWS specs require a JAXB 2.2.x implementation available.
        Hide
        Christian Müller added a comment -

        It's a indirect dependency from camel-hdfs, it's a direct dependency from camel-soap on which camel-hdfs depends.

        Show
        Christian Müller added a comment - It's a indirect dependency from camel-hdfs, it's a direct dependency from camel-soap on which camel-hdfs depends.
        Jean-Baptiste Onofré created issue -

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Jean-Baptiste Onofré
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development