You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hendy Irawan (JIRA)" <ji...@apache.org> on 2012/07/09 16:30:33 UTC
[jira] [Updated] (CAMEL-5434) Cannot install camel-mail 2.10.0
feature in Karaf 2.2.8 due to conflict with
org.apache.servicemix.specs.activation-api-1.1
[ https://issues.apache.org/jira/browse/CAMEL-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hendy Irawan updated CAMEL-5434:
--------------------------------
Description:
Add the feature repository:
features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
Install camel-mail
{code}
karaf@root> feature:install -v camel-mail
Installing feature camel-mail 2.10.0
Installing feature camel-core 2.10.0
Installing feature spring 3.0.7.RELEASE
Found installed bundle: org.apache.servicemix.bundles.a
Found installed bundle: org.springframework.core [51]
Found installed bundle: org.springframework.asm [52]
Found installed bundle: org.springframework.expression
Found installed bundle: org.springframework.beans [54]
Found installed bundle: org.springframework.aop [55]
Found installed bundle: org.springframework.context [56
Found installed bundle: org.springframework.context.support
Installing feature xml-specs-api 1.9.0
Found installed bundle: org.apache.servicemix.specs.activation-api-1.1
Found installed bundle: org.apache.servicemix.specs.stax-api-1.0
Found installed bundle: org.apache.servicemix.specs.jaxb-api-2.2
Found installed bundle: stax2-api [61]
Found installed bundle: woodstox-core-asl [62]
Found installed bundle: org.apache.servicemix.bundles.jaxb-impl [
Found installed bundle: org.apache.camel.camel-core [64
Found installed bundle: org.apache.camel.karaf.camel-karaf-commands [65
Found installed bundle: javax.mail [66]
Installing bundle mvn:org.apache.camel/camel-mail/2.10.
Error executing command: Could not start bundle mvn:org.apache.camel/camel-mail/2.10.0 in feature(s) camel-mail-2.10.0: Unable to resolve module org.apache.camel.camel-mail [78.0] because it is exposed to package 'javax.activation' from org.apache.felix.framework [0] and org.apache.servicemix.specs.activation-api-1.1 [58.0] via two dependency chains.
Chain 1:
org.apache.camel.camel-mail [78.0]
import: (package=javax.activation)
|
export: package=javax.activation
org.apache.felix.framework [0]
Chain 2:
org.apache.camel.camel-mail [78.0]
import: (&(package=org.apache.camel.impl)(version>=2.10.0)(!(version>=2.11.0)))
|
export: package=org.apache.camel.impl; uses:=javax.xml.bind.annotation
org.apache.camel.camel-core [64.0]
import: (package=javax.xml.bind.annotation)
|
export: package=javax.xml.bind.annotation; uses:=javax.activation
org.apache.servicemix.specs.jaxb-api-2.2 [60.0]
import: (&(package=javax.activation)(version>=1.1.0))
|
export: package=javax.activation
org.apache.servicemix.specs.activation-api-1.1 [58.0]
{code}
Workaround:
Edit jre.properties and remove any lines
with "javax.activation" (from jre-1.6 and jre-1.7).
javax.activation is then provided from org.apache.servicemix.specs.activation-api-1.1
was:
Add the feature repository:
features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
Install camel-mail
{code}
karaf@root> feature:install -v camel-mail
Installing feature camel-mail 2.10.0
Installing feature camel-core 2.10.0
Installing feature spring 3.0.7.RELEASE
Found installed bundle: org.apache.servicemix.bundles.a
Found installed bundle: org.springframework.core [51]
Found installed bundle: org.springframework.asm [52]
Found installed bundle: org.springframework.expression
Found installed bundle: org.springframework.beans [54]
Found installed bundle: org.springframework.aop [55]
Found installed bundle: org.springframework.context [56
Found installed bundle: org.springframework.context.support
Installing feature xml-specs-api 1.9.0
Found installed bundle: org.apache.servicemix.specs.activation-api-1.1
Found installed bundle: org.apache.servicemix.specs.stax-api-1.0
Found installed bundle: org.apache.servicemix.specs.jaxb-api-2.2
Found installed bundle: stax2-api [61]
Found installed bundle: woodstox-core-asl [62]
Found installed bundle: org.apache.servicemix.bundles.jaxb-impl [
Found installed bundle: org.apache.camel.camel-core [64
Found installed bundle: org.apache.camel.karaf.camel-karaf-commands [65
Found installed bundle: javax.mail [66]
Installing bundle mvn:org.apache.camel/camel-mail/2.10.
Error executing command: Could not start bundle mvn:org.apache.camel/camel-mail/2.10.0 in feature(s) camel-mail-2.10.0: Unable to resolve module org.apache.camel.camel-mail [78.0] because it is exposed to package 'javax.activation' from org.apache.felix.framework [0] and org.apache.servicemix.specs.activation-api-1.1 [58.0] via two dependency chains.
Chain 1:
org.apache.camel.camel-mail [78.0]
import: (package=javax.activation)
|
export: package=javax.activation
org.apache.felix.framework [0]
Chain 2:
org.apache.camel.camel-mail [78.0]
import: (&(package=org.apache.camel.impl)(version>=2.10.0)(!(version>=2.11.0)))
|
export: package=org.apache.camel.impl; uses:=javax.xml.bind.annotation
org.apache.camel.camel-core [64.0]
import: (package=javax.xml.bind.annotation)
|
export: package=javax.xml.bind.annotation; uses:=javax.activation
org.apache.servicemix.specs.jaxb-api-2.2 [60.0]
import: (&(package=javax.activation)(version>=1.1.0))
|
export: package=javax.activation
org.apache.servicemix.specs.activation-api-1.1 [58.0]
{code}
> Cannot install camel-mail 2.10.0 feature in Karaf 2.2.8 due to conflict with org.apache.servicemix.specs.activation-api-1.1
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-5434
> URL: https://issues.apache.org/jira/browse/CAMEL-5434
> Project: Camel
> Issue Type: Bug
> Components: karaf
> Affects Versions: 2.10.0
> Environment: Karaf 2.2.8
> Reporter: Hendy Irawan
>
> Add the feature repository:
> features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
> Install camel-mail
> {code}
> karaf@root> feature:install -v camel-mail
> Installing feature camel-mail 2.10.0
> Installing feature camel-core 2.10.0
> Installing feature spring 3.0.7.RELEASE
> Found installed bundle: org.apache.servicemix.bundles.a
> Found installed bundle: org.springframework.core [51]
> Found installed bundle: org.springframework.asm [52]
> Found installed bundle: org.springframework.expression
> Found installed bundle: org.springframework.beans [54]
> Found installed bundle: org.springframework.aop [55]
> Found installed bundle: org.springframework.context [56
> Found installed bundle: org.springframework.context.support
> Installing feature xml-specs-api 1.9.0
> Found installed bundle: org.apache.servicemix.specs.activation-api-1.1
> Found installed bundle: org.apache.servicemix.specs.stax-api-1.0
> Found installed bundle: org.apache.servicemix.specs.jaxb-api-2.2
> Found installed bundle: stax2-api [61]
> Found installed bundle: woodstox-core-asl [62]
> Found installed bundle: org.apache.servicemix.bundles.jaxb-impl [
> Found installed bundle: org.apache.camel.camel-core [64
> Found installed bundle: org.apache.camel.karaf.camel-karaf-commands [65
> Found installed bundle: javax.mail [66]
> Installing bundle mvn:org.apache.camel/camel-mail/2.10.
> Error executing command: Could not start bundle mvn:org.apache.camel/camel-mail/2.10.0 in feature(s) camel-mail-2.10.0: Unable to resolve module org.apache.camel.camel-mail [78.0] because it is exposed to package 'javax.activation' from org.apache.felix.framework [0] and org.apache.servicemix.specs.activation-api-1.1 [58.0] via two dependency chains.
> Chain 1:
> org.apache.camel.camel-mail [78.0]
> import: (package=javax.activation)
> |
> export: package=javax.activation
> org.apache.felix.framework [0]
> Chain 2:
> org.apache.camel.camel-mail [78.0]
> import: (&(package=org.apache.camel.impl)(version>=2.10.0)(!(version>=2.11.0)))
> |
> export: package=org.apache.camel.impl; uses:=javax.xml.bind.annotation
> org.apache.camel.camel-core [64.0]
> import: (package=javax.xml.bind.annotation)
> |
> export: package=javax.xml.bind.annotation; uses:=javax.activation
> org.apache.servicemix.specs.jaxb-api-2.2 [60.0]
> import: (&(package=javax.activation)(version>=1.1.0))
> |
> export: package=javax.activation
> org.apache.servicemix.specs.activation-api-1.1 [58.0]
> {code}
> Workaround:
> Edit jre.properties and remove any lines
> with "javax.activation" (from jre-1.6 and jre-1.7).
> javax.activation is then provided from org.apache.servicemix.specs.activation-api-1.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira