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:20:35 UTC
[jira] [Created] (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
Hendy Irawan created CAMEL-5434:
-----------------------------------
Summary: 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}
--
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
[jira] [Commented] (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
Posted by "Hendy Irawan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409516#comment-13409516 ]
Hendy Irawan commented on CAMEL-5434:
-------------------------------------
Thank you Claus, I just read this on the release notes:
"If you want to deploy Apache Camel 2.10.0 into Apache Karaf, we highly recommend to use the 'jre.properties.cxf' configuration, which is part of Apache Karaf 2.2.5 onwards. For example camel-cxf, and camel-spring-ws requires this to be installable; as well other features may as well."
Haven't realized this, sorry...
The documentation in https://cwiki.apache.org/KARAF/46-provisioning.html needs updating too :)
So I guess it's normal :)
> 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
[jira] [Resolved] (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
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5434.
--------------------------------
Resolution: Not A Problem
Fix Version/s: 2.11
Assignee: Claus Ibsen
Working as designed.
> 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
> Assignee: Claus Ibsen
> Fix For: 2.11
>
>
> 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
[jira] [Commented] (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
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409509#comment-13409509 ]
Claus Ibsen commented on CAMEL-5434:
------------------------------------
Are you using the cxf jre properties file as we say in the release notes. eg Karaf ships with a custom jre.properties file you should override and use when you use CXF, Camel etc.
> 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}
--
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
[jira] [Commented] (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
Posted by "Hendy Irawan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409527#comment-13409527 ]
Hendy Irawan commented on CAMEL-5434:
-------------------------------------
My bad... it's right inside Karaf itself, I was looking on the wrong place ^_^
> 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
> Assignee: Claus Ibsen
> Fix For: 2.11
>
>
> 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
[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
Posted by "Hendy Irawan (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (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
Posted by "Hendy Irawan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409526#comment-13409526 ]
Hendy Irawan commented on CAMEL-5434:
-------------------------------------
Where is this file located? I couldn't find it on apache-camel-2.10.0.tar.gz
> 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
> Assignee: Claus Ibsen
> Fix For: 2.11
>
>
> 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