Cross post to dev@servicemix and dev@cxf because I'm not sure who has to
resolve the issue:
The issue is may caused, because the bundle
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.9.0
depends on
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.saaj-api-1.3/1.9.0,
but are listed in the cxf-specs feature in the reverse order.
The default feature boot path for SMX is:
featuresBoot=karaf-framework,config,activemq-broker,activemq-spring,cxf-specs,camel,camel-activemq,camel-cxf,camel-blueprint,war
The cxf-specs is defined as:
<feature name="cxf-specs" version="2.6.2" resolver='(obr)'>
<bundle
start-level='9'>mvn:org.apache.geronimo.specs/geronimo-osgi-registry/1.1</bundle>
<bundle start-level='10'
dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/1.9.0</bundle>
<bundle
start-level='10'>mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
<bundle
start-level='10'>mvn:org.apache.geronimo.specs/geronimo-ws-metadata_2.0_spec/1.1.3</bundle>
<bundle
start-level='10'>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/1.9.0</bundle>
<bundle start-level='10'
dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/1.9.0</bundle>
<bundle start-level='10'
dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.9.0</bundle>
<bundle start-level='10'
dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.saaj-api-1.3/1.9.0</bundle>
<bundle start-level='10'>mvn:javax.mail/mail/1.4.4</bundle>
<bundle
start-level='10'>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr311-api-1.1.1/1.9.0</bundle>
<bundle
start-level='20'>mvn:org.codehaus.woodstox/stax2-api/3.1.1</bundle>
<bundle
start-level='20'>mvn:org.codehaus.woodstox/woodstox-core-asl/4.1.4</bundle>
<bundle
start-level='20'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.1.1_2</bundle>
<bundle
start-level='20'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc/2.2.1.1_2</bundle>
</feature>
The camel-cxf features isn't installed and no error occurs.
The following bundles are also not installed:
-
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.saaj-api-1.3/1.9.0
-
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.9.0
-
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr311-api-1.1.1/1.9.0
and may be other too...
To reproduce the issue:
- unzip SMX 4.5.0-SNAPSHOT (20121007)
- rename ${SMX_HOME}/etc/jre.properties to
${SMX_HOME}/etc/jre.properties.orig
- rename ${SMX_HOME}/etc/jre.properties.cxf to
${SMX_HOME}/etc/jre.properties
- start SMX
karaf@root> features:list | grep -i cxf-specs
[installed ] [2.6.2 ] cxf-specs
cxf-2.6.2
karaf@root> features:list | grep -i camel-cxf
[uninstalled] [2.10.1 ] camel-cxf
camel-2.10.1
karaf@root> list -t 0
START LEVEL 100 , List Threshold: 0
ID State Blueprint Spring Level Name
[ 0] [Active ] [ ] [ ] [ 0] System Bundle (3.2.2)
[ 1] [Active ] [ ] [ ] [ 5] OPS4J Pax Url - wrap:
(1.2.8)
[ 2] [Active ] [ ] [ ] [ 5] OPS4J Pax Url - mvn:
(1.2.8)
[ 3] [Active ] [ ] [ ] [ 8] OPS4J Pax Logging -
Service (1.6.9)
[ 4] [Active ] [ ] [ ] [ 8] OPS4J Pax Logging -
API (1.6.9)
[ 5] [Active ] [ ] [ ] [ 10] Apache Felix
Configuration Admin Service (1.2.8)
[ 6] [Active ] [ ] [ ] [ 10] Apache Felix Bundle
Repository (1.6.4)
[ 7] [Active ] [ ] [ ] [ 11] Apache Felix File
Install (3.2.4)
[ 8] [Active ] [ ] [ ] [ 20] Apache Aries Proxy
Bundle (0.3.1)
[ 9] [Active ] [ ] [ ] [ 20] Apache ServiceMix ::
Bundles :: asm (3.3.1.1)
[ 10] [Active ] [Created ] [ ] [ 20] Apache Aries
Blueprint Bundle (0.3.2)
[ 11] [Active ] [ ] [ ] [ 20] Apache Aries Util
(0.3.1)
[ 12] [Active ] [Created ] [ ] [ 28] Apache Karaf ::
Deployer :: Blueprint (2.2.9)
[ 13] [Active ] [Created ] [ ] [ 28] Apache Karaf ::
Deployer :: Spring (2.2.9)
[ 14] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Diagnostic :: Common (2.2.9)
[ 15] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Deployer :: Features (2.2.9)
[ 16] [Active ] [Created ] [ ] [ 30] Apache Karaf :: JAAS
:: Config (2.2.9)
[ 17] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Admin
:: Management (2.2.9)
[ 18] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Shell
:: Console (2.2.9)
[ 19] [Active ] [ ] [ ] [ 30] Apache Mina SSHD ::
Core (0.7.0)
[ 20] [Active ] [ ] [ ] [ 30] Apache Aries JMX
Blueprint Bundle (0.3.0)
[ 21] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Shell
:: Development Commands (2.2.9)
[ 22] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Features :: Core (2.2.9)
[ 23] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Diagnostic :: Management (2.2.9)
[ 24] [Active ] [ ] [ ] [ 30] Apache Aries JMX API
(0.3.0)
[ 25] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Jaas
:: Command (2.2.9)
[ 26] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Management (2.2.9)
[ 27] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Deployer :: Wrap Non OSGi Jar (2.2.9)
[ 28] [Active ] [Created ] [ ] [ 30] Apache Karaf :: JAAS
:: Modules (2.2.9)
[ 29] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Admin
:: Command (2.2.9)
[ 30] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Shell
:: PackageAdmin Commands (2.2.9)
[ 31] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Diagnostic :: Command (2.2.9)
[ 32] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Shell
:: OSGi Commands (2.2.9)
[ 33] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Deployer :: Karaf Archive (.kar) (2.2.9)
[ 34] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Shell
:: SSH (2.2.9)
[ 35] [Active ] [ ] [ ] [ 30] Apache MINA Core
(2.0.1)
[ 36] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Features :: OBR Resolver (2.2.9)
[ 37] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Admin
:: Core (2.2.9)
[ 38] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Features :: Command (2.2.9)
[ 39] [Active ] [ ] [ ] [ 30] Apache Karaf ::
Diagnostic :: Core (2.2.9)
[ 40] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Features :: Management (2.2.9)
[ 41] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Shell
:: Various Commands (2.2.9)
[ 42] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Shell
:: Log Commands (2.2.9)
[ 43] [Active ] [ ] [ ] [ 30] Apache Aries JMX Core
(0.3.1)
[ 44] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Shell
:: ConfigAdmin Commands (2.2.9)
[ 45] [Active ] [ ] [ ] [ 80] kahadb (5.5.1)
[ 46] [Active ] [ ] [ ] [ 80] activemq-pool (5.5.1)
[ 47] [Active ] [ ] [ ] [ 80] activemq-console
(5.5.1)
[ 48] [Active ] [ ] [ ] [ 80] Apache Aries
Transaction Manager (0.2.0.incubating)
[ 49] [Active ] [ ] [ ] [ 80] activemq-ra (5.5.1)
[ 50] [Active ] [Created ] [ ] [ 80] activemq-core (5.5.1)
Fragments: 62
[ 51] [Active ] [Created ] [ ] [ 80] activemq-karaf (5.5.1)
[ 52] [Active ] [ ] [ ] [ 80]
geronimo-j2ee-management_1.1_spec (1.0.1)
[ 53] [Active ] [ ] [ ] [ 80] Commons Pool (1.5.4)
[ 54] [Active ] [ ] [ ] [ 80] geronimo-jms_1.1_spec
(1.1.1)
[ 55] [Active ] [ ] [ ] [ 80]
geronimo-annotation_1.0_spec (1.1.1)
[ 56] [Active ] [ ] [ ] [ 80] Apache ServiceMix ::
Bundles :: commons-codec (1.3.0.3)
[ 57] [Active ] [ ] [ ] [ 80] Commons Collections
(3.2.1)
[ 58] [Active ] [ ] [ ] [ 80] Apache ServiceMix
Bundles: velocity-1.6.2 (1.6.2.3)
[ 59] [Active ] [ ] [ ] [ 80] Apache ServiceMix
Bundles: oro-2.0.8 (2.0.8.3)
[ 60] [Active ] [ ] [ ] [ 80] Apache ServiceMix ::
Bundles :: jasypt (1.6.0.1)
[ 61] [Active ] [ ] [ ] [ 80] Apache ServiceMix
Bundles: commons-lang-2.4 (2.4.0.3)
[ 62] [Resolved ] [ ] [ ] [ 80] activemq-blueprint
(5.5.1)
Hosts: 50
[ 63] [Active ] [Created ] [ ] [ 80] Apache XBean :: OSGI
Blueprint Namespace Handler (3.7)
[ 64] [Active ] [ ] [ ] [ 80] Commons JEXL (2.0.1)
[ 65] [Active ] [Created ] [ ] [ 50] activemq-broker.xml
(0.0.0)
[ 66] [Active ] [ ] [ ] [ 30] Spring Beans
(3.0.7.RELEASE)
[ 67] [Active ] [ ] [ ] [ 30] Spring Context
Support (3.0.7.RELEASE)
[ 68] [Active ] [ ] [ ] [ 30] Spring Context
(3.0.7.RELEASE)
[ 69] [Active ] [ ] [ ] [ 30] Spring AOP
(3.0.7.RELEASE)
[ 70] [Active ] [ ] [ ] [ 30] Spring Expression
Language (3.0.7.RELEASE)
[ 71] [Active ] [ ] [ ] [ 30] Spring ASM
(3.0.7.RELEASE)
[ 72] [Active ] [ ] [ ] [ 30] Spring Core
(3.0.7.RELEASE)
[ 73] [Active ] [ ] [ ] [ 30] Apache ServiceMix ::
Bundles :: aopalliance (1.0.0.5)
[ 74] [Active ] [ ] [ ] [ 30] spring-osgi-core
(1.2.1)
[ 75] [Active ] [ ] [ ] [ 30] spring-osgi-io (1.2.1)
[ 76] [Active ] [ ] [ ] [ 30]
spring-osgi-annotation (1.2.1)
[ 77] [Active ] [ ] [ ] [ 30] spring-osgi-extender
(1.2.1)
[ 78] [Active ] [ ] [ ] [ 30] Apache ServiceMix ::
Bundles :: cglib (2.1.0.3_7)
[ 79] [Active ] [ ] [ ] [ 80] activemq-spring
(5.5.1)
[ 80] [Active ] [ ] [ ] [ 80] Apache XBean ::
Spring (3.7)
[ 81] [Active ] [ ] [ ] [ 10] Apache ServiceMix ::
Specs :: Stax API 1.0 (1.9.0)
[ 82] [Active ] [ ] [ ] [ 10] JavaMail API (compat)
(1.4.4)
[ 83] [Active ] [ ] [ ] [ 9] Apache Geronimo OSGI
factory registry (1.1)
[ 84] [Active ] [ ] [ ] [ 20] Apache ServiceMix ::
Bundles :: jaxb-impl (2.2.1.1_2)
[ 85] [Active ] [ ] [ ] [ 20] Apache ServiceMix ::
Bundles :: jaxb-xjc (2.2.1.1_2)
[ 86] [Active ] [ ] [ ] [ 10] Web Services Metadata
2.0 (1.1.3)
[ 87] [Active ] [ ] [ ] [ 20] Stax2 API (3.1.1)
[ 88] [Active ] [ ] [ ] [ 20] Woodstox
XML-processor (4.1.4)
[ 89] [Active ] [ ] [ ] [ 10] Apache ServiceMix ::
Specs :: JSR-311 API 1.1.1 (1.9.0)
[ 90] [Active ] [ ] [ ] [ 10] Apache ServiceMix ::
Specs :: JAXB API 2.2 (1.9.0)
[ 91] [Active ] [ ] [ ] [ 10] Apache ServiceMix ::
Specs :: Activation API 1.4 (1.9.0)
[ 92] [Active ] [ ] [ ] [ 50] camel-core (2.10.1)
[ 93] [Active ] [Created ] [ ] [ 50] camel-karaf-commands
(2.10.1)
[ 94] [Active ] [ ] [ ] [ 30] Spring Transaction
(3.0.7.RELEASE)
[ 95] [Active ] [ ] [ ] [ 50] camel-spring (2.10.1)
[ 96] [Active ] [Created ] [ ] [ 50] camel-blueprint
(2.10.1)
[ 97] [Active ] [ ] [ ] [ 30] Jetty :: Continuation
(7.5.4.v20111024)
[ 98] [Active ] [ ] [ ] [ 30] Jetty :: JNDI Naming
(7.5.4.v20111024)
[ 99] [Active ] [ ] [ ] [ 30] Jetty :: IO Utility
(7.5.4.v20111024)
[ 100] [Active ] [ ] [ ] [ 30] Jetty :: Security
(7.5.4.v20111024)
[ 101] [Active ] [ ] [ ] [ 30] Jetty :: Servlet
Handling (7.5.4.v20111024)
[ 102] [Active ] [ ] [ ] [ 30] Jetty :: Asynchronous
HTTP Client (7.5.4.v20111024)
[ 103] [Active ] [ ] [ ] [ 30] Jetty :: Server Core
(7.5.4.v20111024)
[ 104] [Active ] [ ] [ ] [ 30] Jetty :: Http Utility
(7.5.4.v20111024)
[ 105] [Active ] [ ] [ ] [ 30] Jetty :: Plus
(7.5.4.v20111024)
[ 106] [Active ] [ ] [ ] [ 30] Jetty :: JMX
Management (7.5.4.v20111024)
[ 107] [Active ] [ ] [ ] [ 30] Jetty :: Utilities
(7.5.4.v20111024)
[ 108] [Active ] [ ] [ ] [ 30] Jetty :: XML
utilities (7.5.4.v20111024)
[ 109] [Active ] [ ] [ ] [ 30] Jetty :: Websocket
(7.5.4.v20111024)
[ 110] [Active ] [ ] [ ] [ 30] Jetty :: Webapp
Application Support (7.5.4.v20111024)
[ 111] [Active ] [ ] [ ] [ 30] Jetty :: Utility
Servlets and Filters (7.5.4.v20111024)
[ 112] [Active ] [ ] [ ] [ 30]
geronimo-servlet_2.5_spec (1.1.2)
[ 113] [Active ] [ ] [ ] [ 30] OPS4J Pax Web - API
(1.0.11)
[ 114] [Active ] [ ] [ ] [ 30] OPS4J Pax Web -
Runtime (1.0.11)
[ 115] [Active ] [ ] [ ] [ 30] OPS4J Pax Web -
Service SPI (1.0.11)
[ 116] [Active ] [ ] [ ] [ 30] OPS4J Pax Web - Jetty
(1.0.11)
[ 117] [Active ] [ ] [ ] [ 30] Spring Web Servlet
(3.0.7.RELEASE)
[ 118] [Active ] [ ] [ ] [ 30] Spring Web
(3.0.7.RELEASE)
[ 119] [Active ] [ ] [ ] [ 30] Spring JMS
(3.0.7.RELEASE)
[ 120] [Active ] [ ] [ ] [ 10] geronimo-jta_1.1_spec
(1.1.1)
[ 121] [Active ] [ ] [ ] [ 50] camel-jms (2.10.1)
[ 122] [Active ] [ ] [ ] [ 50] activemq-camel (5.5.1)
[ 123] [Installed ] [ ] [ ] [ 40] Apache CXF Karaf
Commands (2.6.2)
[ 124] [Installed ] [ ] [ ] [ 40] Apache CXF Runtime
Core (2.6.2)
[ 125] [Installed ] [ ] [ ] [ 40] Apache CXF Runtime
Management (2.6.2)
[ 126] [Installed ] [ ] [ ] [ 40] Apache CXF API (2.6.2)
[ 127] [Installed ] [ ] [ ] [ 30] XmlSchema Core (2.0.3)
[ 128] [Installed ] [ ] [ ] [ 30] Apache ServiceMix ::
Bundles :: wsdl4j (1.6.2.6)
[ 129] [Resolved ] [ ] [ ] [ 30] Apache ServiceMix ::
Bundles :: FastInfoset (1.2.7.4)
[ 130] [Installed ] [ ] [ ] [ 30] Apache ServiceMix ::
Bundles :: xmlresolver (1.2.0.5)
[ 131] [Installed ] [ ] [ ] [ 40] Apache CXF Runtime
JAXB DataBinding (2.6.2)
[ 132] [Installed ] [ ] [ ] [ 40] Apache CXF Runtime
XML Binding (2.6.2)
[ 133] [Installed ] [ ] [ ] [ 40] Apache CXF Runtime
SOAP Binding (2.6.2)
[ 134] [Installed ] [ ] [ ] [ 30] OPS4J Pax Web -
Extender - Whiteboard (1.0.11)
[ 135] [Installed ] [ ] [ ] [ 40] Apache CXF Runtime
HTTP Transport (2.6.2)
[ 136] [Active ] [Created ] [ ] [ 30] Apache Karaf :: Shell
:: Web Commands (2.2.9)
[ 137] [Active ] [ ] [ ] [ 30] OPS4J Pax Url - war
(1.2.8)
[ 138] [Active ] [ ] [ ] [ 30] OPS4J Pax Web -
Extender - WAR (1.0.11)
[ 139] [Active ] [ ] [ ] [ 30] OPS4J Pax Web - Jsp
Support (1.0.11)
[ 140] [Active ] [ ] [ ] [ 30] OPS4J Pax Web -
FileInstall Deployer (1.0.11)
[ 141] [Active ] [Created ] [ ] [ 30] Apache Karaf ::
Management :: MBeans :: Web (2.2.9)
karaf@root> feature:install camel-cxf
Error executing command: Can not resolve feature:
Unsatisfied requirement(s):
---------------------------
package:(&(package=javax.xml.ws.wsaddressing)(version>=2.2.0)(!(version>=3.0.0)))
Apache CXF Runtime JAX-WS Frontend
package:(&(package=javax.xml.ws.spi.http)(version>=2.2.0)(!(version>=3.0.0)))
Apache CXF Runtime JAX-WS Frontend
package:(&(package=javax.xml.ws.handler.soap)(version>=2.2.0)(!(version>=3.0.0)))
Apache CXF Runtime JAX-WS Frontend
package:(&(package=javax.xml.ws)(version>=2.2.0)(!(version>=3.0.0)))
Apache CXF Runtime JAX-WS Frontend
package:(&(package=javax.xml.ws.handler)(version>=2.2.0)(!(version>=3.0.0)))
Apache CXF Runtime JAX-WS Frontend
package:(&(package=javax.xml.ws.soap)(version>=2.2.0)(!(version>=3.0.0)))
Apache CXF Runtime JAX-WS Frontend
package:(&(package=javax.xml.soap))
Apache CXF Runtime JAX-WS Frontend
package:(&(package=javax.xml.ws.http)(version>=2.2.0)(!(version>=3.0.0)))
Apache CXF Runtime JAX-WS Frontend
package:(&(package=javax.xml.ws.spi)(version>=2.2.0)(!(version>=3.0.0)))
Apache CXF Runtime JAX-WS Frontend
Best,
Christian
--