You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (Created JIRA)" <ji...@apache.org> on 2011/12/27 21:48:31 UTC
[jira] [Created] (CAMEL-4831) camel-cxf feature doesn't work
camel-cxf feature doesn't work
------------------------------
Key: CAMEL-4831
URL: https://issues.apache.org/jira/browse/CAMEL-4831
Project: Camel
Issue Type: Bug
Components: karaf
Affects Versions: 2.9.0
Reporter: Christian Müller
Priority: Critical
Fix For: 2.9.0
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-cxf
2011-12-27 21:39:05.855:INFO:oejs.Server:jetty-7.5.4.v20111024
2011-12-27 21:39:05.877:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8181 STARTING
2011-12-27 21:39:06.061:INFO:oejsh.ContextHandler:started HttpServiceContext{httpContext=DefaultHttpContext{bundle=org.apache.karaf.deployer.features [34]}}
2011-12-27 21:39:07.441:INFO:oejsh.ContextHandler:stopped HttpServiceContext{httpContext=DefaultHttpContext{bundle=org.apache.karaf.deployer.features [34]}}
Error executing command: Could not start bundle mvn:org.apache.cxf/cxf-bundle/2.5.1 in feature(s) cxf-2.5.1: Unable to resolve module org.apache.cxf.bundle [136.0] because it is exposed to package 'javax.xml.bind.attachment' from org.apache.felix.framework [0] and org.apache.servicemix.specs.jaxb-api-2.2 [65.0] via two dependency chains.
Chain 1:
org.apache.cxf.bundle [136.0]
import: (&(package=javax.xml.bind.attachment)(version>=0.0.0)(!(version>=3.0.0)))
|
export: package=javax.xml.bind.attachment
org.apache.felix.framework [0]
Chain 2:
org.apache.cxf.bundle [136.0]
import: (package=com.sun.tools.xjc.reader.xmlschema.parser)
|
export: package=com.sun.tools.xjc.reader.xmlschema.parser; uses:=javax.xml.bind
org.apache.servicemix.bundles.jaxb-xjc [95.0]
import: (&(package=javax.xml.bind)(version>=2.2.0)(!(version>=3.0.0)))
|
export: package=javax.xml.bind; uses:=javax.xml.bind.attachment
export: package=javax.xml.bind.attachment
org.apache.servicemix.specs.jaxb-api-2.2 [65.0]
--
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] [Closed] (CAMEL-4831) camel-cxf feature doesn't work
Posted by "Christian Müller (Closed JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Müller closed CAMEL-4831.
-----------------------------------
Resolution: Not A Problem
I added a notice to the Camel 2.9.0 release notes
> camel-cxf feature doesn't work
> ------------------------------
>
> Key: CAMEL-4831
> URL: https://issues.apache.org/jira/browse/CAMEL-4831
> Project: Camel
> Issue Type: Bug
> Components: karaf
> Affects Versions: 2.9.0
> Reporter: Christian Müller
> Priority: Critical
> Labels: cxf, karaf, osgi
> Fix For: 2.9.0
>
>
> 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-cxf
> 2011-12-27 21:39:05.855:INFO:oejs.Server:jetty-7.5.4.v20111024
> 2011-12-27 21:39:05.877:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8181 STARTING
> 2011-12-27 21:39:06.061:INFO:oejsh.ContextHandler:started HttpServiceContext{httpContext=DefaultHttpContext{bundle=org.apache.karaf.deployer.features [34]}}
> 2011-12-27 21:39:07.441:INFO:oejsh.ContextHandler:stopped HttpServiceContext{httpContext=DefaultHttpContext{bundle=org.apache.karaf.deployer.features [34]}}
> Error executing command: Could not start bundle mvn:org.apache.cxf/cxf-bundle/2.5.1 in feature(s) cxf-2.5.1: Unable to resolve module org.apache.cxf.bundle [136.0] because it is exposed to package 'javax.xml.bind.attachment' from org.apache.felix.framework [0] and org.apache.servicemix.specs.jaxb-api-2.2 [65.0] via two dependency chains.
> Chain 1:
> org.apache.cxf.bundle [136.0]
> import: (&(package=javax.xml.bind.attachment)(version>=0.0.0)(!(version>=3.0.0)))
> |
> export: package=javax.xml.bind.attachment
> org.apache.felix.framework [0]
> Chain 2:
> org.apache.cxf.bundle [136.0]
> import: (package=com.sun.tools.xjc.reader.xmlschema.parser)
> |
> export: package=com.sun.tools.xjc.reader.xmlschema.parser; uses:=javax.xml.bind
> org.apache.servicemix.bundles.jaxb-xjc [95.0]
> import: (&(package=javax.xml.bind)(version>=2.2.0)(!(version>=3.0.0)))
> |
> export: package=javax.xml.bind; uses:=javax.xml.bind.attachment
> export: package=javax.xml.bind.attachment
> org.apache.servicemix.specs.jaxb-api-2.2 [65.0]
--
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-4831) camel-cxf feature doesn't work
Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176540#comment-13176540 ]
Christian Müller commented on CAMEL-4831:
-----------------------------------------
It works with the jre.properties.cxf.
I will close this issue, but we should document this for our users in the release notes!
> camel-cxf feature doesn't work
> ------------------------------
>
> Key: CAMEL-4831
> URL: https://issues.apache.org/jira/browse/CAMEL-4831
> Project: Camel
> Issue Type: Bug
> Components: karaf
> Affects Versions: 2.9.0
> Reporter: Christian Müller
> Priority: Critical
> Labels: cxf, karaf, osgi
> Fix For: 2.9.0
>
>
> 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-cxf
> 2011-12-27 21:39:05.855:INFO:oejs.Server:jetty-7.5.4.v20111024
> 2011-12-27 21:39:05.877:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8181 STARTING
> 2011-12-27 21:39:06.061:INFO:oejsh.ContextHandler:started HttpServiceContext{httpContext=DefaultHttpContext{bundle=org.apache.karaf.deployer.features [34]}}
> 2011-12-27 21:39:07.441:INFO:oejsh.ContextHandler:stopped HttpServiceContext{httpContext=DefaultHttpContext{bundle=org.apache.karaf.deployer.features [34]}}
> Error executing command: Could not start bundle mvn:org.apache.cxf/cxf-bundle/2.5.1 in feature(s) cxf-2.5.1: Unable to resolve module org.apache.cxf.bundle [136.0] because it is exposed to package 'javax.xml.bind.attachment' from org.apache.felix.framework [0] and org.apache.servicemix.specs.jaxb-api-2.2 [65.0] via two dependency chains.
> Chain 1:
> org.apache.cxf.bundle [136.0]
> import: (&(package=javax.xml.bind.attachment)(version>=0.0.0)(!(version>=3.0.0)))
> |
> export: package=javax.xml.bind.attachment
> org.apache.felix.framework [0]
> Chain 2:
> org.apache.cxf.bundle [136.0]
> import: (package=com.sun.tools.xjc.reader.xmlschema.parser)
> |
> export: package=com.sun.tools.xjc.reader.xmlschema.parser; uses:=javax.xml.bind
> org.apache.servicemix.bundles.jaxb-xjc [95.0]
> import: (&(package=javax.xml.bind)(version>=2.2.0)(!(version>=3.0.0)))
> |
> export: package=javax.xml.bind; uses:=javax.xml.bind.attachment
> export: package=javax.xml.bind.attachment
> org.apache.servicemix.specs.jaxb-api-2.2 [65.0]
--
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