Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4188

Cannot install camel-mail feature in Karaf 2.2.2 or 2.2.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 2.7.2
    • 2.7.3, 2.8.0
    • camel-mail
    • None
    • Java SDK 1.6, Apache Karaf 2.2.2 or 2.2.1 using felix container.

    Description

      Attempting to install the camel-mail feature results in the following error:

      Error executing command: Unable to resolve module org.apache.camel.camel-mail [73.0] because it is exposed to package 'javax.activation' from org.apache.felix.framework [0] and org.apache.servicemix.specs.activation-api-1.1 [66.0] via two dependency chains.

      Chain 1:
      org.apache.camel.camel-mail [73.0]
      import: (package=javax.activation)

      export: package=javax.activation
      org.apache.felix.framework [0]

      Chain 2:
      org.apache.camel.camel-mail [73.0]
      import: (&(package=org.apache.camel.impl)(version>=2.7.0)(!(version>=2.8.0)))

      export: package=org.apache.camel.impl; uses:=javax.xml.bind.annotation
      org.apache.camel.camel-core [71.0]
      import: (package=javax.xml.bind.annotation)

      export: package=javax.xml.bind.annotation; uses:=javax.activation
      org.apache.servicemix.specs.jaxb-api-2.2 [67.0]
      import: (&(package=javax.activation)(version>=1.1.0))

      export: package=javax.activation
      org.apache.servicemix.specs.activation-api-1.1 [66.0]

      After forcing the install with features:install -c camel-mail the camel-mail bundle refuses to start because of the error indicated above. It looks like there's several exports of the javax.activation package which causes the error.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              mgardiner Mike Gardiner
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: