You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2009/12/14 13:47:53 UTC

[jira] Resolved: (SMX4-425) Installation of feature CXF generates the following error (could be related to Apache Felix Karaf)

     [ https://issues.apache.org/activemq/browse/SMX4-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Moulliard resolved SMX4-425.
------------------------------------

    Resolution: Fixed

Issue resolved in last packaging of cxf and camel-cxf. This problem does not exist when we install camel-cxf. This is related to the fact that camel-cxf and cxf does not install the same features.

> Installation of feature CXF generates the following error (could be related to Apache Felix Karaf)
> --------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-425
>                 URL: https://issues.apache.org/activemq/browse/SMX4-425
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: List of features installed at the first server startup
> featuresRepositories=mvn:org.apache.felix.karaf/apache-felix-karaf/1.1.0-SNAPSHOT/xml/features,mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.1.0-SNAPSHOT/xml/features,mvn:org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/xml/features,mvn:org.apache.camel.karaf/features/2.1-SNAPSHOT/xml/features
> #
> # Comma separated list of features to install at startup
> #
> featuresBoot=activemq,activemq-broker,camel,webconsole,camel-bindy
>            Reporter: Charles Moulliard
>            Assignee: Chris Custine
>
> I try to install cxf using the command features:install cxf on ServiceMix 4.1 and here is what happens :
> karaf@root> features:install cxf
> Refreshing bundles org.apache.servicemix.bundles.jaxb-impl (52)
> Unresolved constraint in bundle org.apache.servicemix.bundles.opensaml
> [99]: package; (package=org.apache.commons.codec.binary)
> Felix claims that there is an error in the bundle 99 but my list of
> bundles ends at 79
> [  76] [Active     ] [            ] [   60] activemq-pool (5.3.0)
> [  77] [Active     ] [Created     ] [   60] Apache ServiceMix Features
> :: ActiveMQ Commands (4.1.0.SNAPSHOT)
> [  78] [Active     ] [            ] [   60] camel-bindy (2.1.0.SNAPSHOT)
> [  79] [Active     ] [            ] [   60] activemq-broker.xml (0.0.0)
> If I relaunch the command :
> karaf@root> features:install cxf
> Refreshing bundles org.apache.servicemix.bundles.jaxb-impl (52)
> Unresolved constraint in bundle org.apache.servicemix.bundles.opensaml
> [122]: package; (package=org.apache.commons.codec.binary)
> The bundle 99 becomes 122 but does not exist in the list or in the
> cache directory
> {code}
> karaf@root> osgi:list
> START LEVEL 100
>   ID   State         Blueprint      Level  Name
> [   0] [Active     ] [            ] [    0] System Bundle (2.0.1)
> [   1] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Shell OSGi Commands (1.1.0.SNAPSHOT)
> [   2] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Admin Management (1.1.0.SNAPSHOT)
> [   3] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Shell PackageAdmin Commands (1.1.0.SNAPSHOT)
> [   4] [Active     ] [            ] [   30] Apache MINA Core (2.0.0.M6)
> [   5] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Management (1.1.0.SNAPSHOT)
> [   6] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Spring Deployer (1.1.0.SNAPSHOT)
> [   7] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Shell Various Commands (1.1.0.SNAPSHOT)
> [   8] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Blueprint Deployer (1.1.0.SNAPSHOT)
> [   9] [Active     ] [            ] [   30] Apache Mina SSHD :: Core (0.2.0)
> [  10] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Features Core (1.1.0.SNAPSHOT)
> [  11] [Active     ] [            ] [   30] Apache Felix Gogo Shell
> Runtime (0.2.0)
> [  12] [Active     ] [Created     ] [   30] Apache Felix Karaf :: JAAS
> Modules (1.1.0.SNAPSHOT)
> [  13] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Shell SSH (1.1.0.SNAPSHOT)
> [  14] [Active     ] [            ] [   30] org.osgi.impl.bundle.jmx
> (4.2.0.200907080519)
> [  15] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Shell Console (1.1.0.SNAPSHOT)
> [  16] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Shell ConfigAdmin Commands (1.1.0.SNAPSHOT)
> [  17] [Active     ] [Created     ] [   30] Apache Felix Karaf :: JAAS
> Config (1.1.0.SNAPSHOT)
> [  18] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Shell Log Commands (1.1.0.SNAPSHOT)
> [  19] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Admin Command (1.1.0.SNAPSHOT)
> [  20] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Features Management (1.1.0.SNAPSHOT)
> [  21] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Features Deployer (1.1.0.SNAPSHOT)
> [  22] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Features Command (1.1.0.SNAPSHOT)
> [  23] [Active     ] [Created     ] [   30] Apache Felix Karaf ::
> Admin Core (1.1.0.SNAPSHOT)
> [  24] [Active     ] [            ] [   11] Apache Felix File Install
> (2.0.1.SNAPSHOT)
> [  25] [Active     ] [            ] [   10] Apache Felix Prefrences
> Service (1.0.2)
> [  26] [Active     ] [            ] [   10] Apache Felix Configuration
> Admin Service (1.2.4)
> [  27] [Active     ] [            ] [    8] OPS4J Pax Logging - API (1.4)
> [  28] [Active     ] [            ] [    8] OPS4J Pax Logging - Service (1.4)
> [  29] [Active     ] [            ] [    5] OPS4J Pax Url - mvn: (1.1.2)
> [  30] [Active     ] [            ] [    5] OPS4J Pax Url - wrap: (1.1.2)
> [  31] [Active     ] [Created     ] [   20] Apache Geronimo Blueprint
> Bundle (1.0.0)
> [  32] [Resolved   ] [            ] [   60] geronimo-servlet_2.5_spec (1.1.2)
> [  33] [Installed  ] [            ] [   60] Apache ServiceMix Bundles:
> jetty-6.1.14 (6.1.14.1)
> [  34] [Resolved   ] [            ] [   60] OPS4J Pax Web - API (0.7.1)
> [  35] [Resolved   ] [            ] [   60] OPS4J Pax Web - Service SPI (0.7.1)
> [  36] [Resolved   ] [            ] [   60] OPS4J Pax Web - Runtime (0.7.1)
> [  37] [Installed  ] [            ] [   60] OPS4J Pax Web - Jetty (0.7.1)
> [  38] [Resolved   ] [            ] [   60] Apache Felix Metatype
> Service (1.0.2)
> [  39] [Resolved   ] [            ] [   60] Apache Felix Web
> Management Console (2.0.0)
> [  40] [Installed  ] [            ] [   60] Apache Felix Karaf :: Web
> Console :: Admin Plugin (1.1.0.SNAPSHOT)
> [  41] [Active     ] [Created     ] [   60] Apache Felix Karaf :: Web
> Console :: Features Plugin (1.1.0.SNAPSHOT)
> [  42] [Installed  ] [            ] [   60] Apache Felix Karaf :: Web
> Console :: Gogo Plugin (1.1.0.SNAPSHOT)
> [  43] [Active     ] [            ] [   60] Apache ServiceMix Bundles:
> aopalliance-1.0 (1.0.0.1)
> [  44] [Active     ] [            ] [   60] Spring Core (2.5.6.SEC01)
> [  45] [Active     ] [            ] [   60] Spring Beans (2.5.6.SEC01)
> [  46] [Active     ] [            ] [   60] Spring AOP (2.5.6.SEC01)
> [  47] [Active     ] [            ] [   60] Spring Context (2.5.6.SEC01)
> [  48] [Active     ] [            ] [   60] Spring Context Support (2.5.6.SEC01)
> [  49] [Active     ] [            ] [   60] Apache ServiceMix Specs ::
> ACTIVATION API 1.4 (1.4.0.SNAPSHOT)
> [  50] [Active     ] [            ] [   60] Apache ServiceMix Specs ::
> JAXB API 2.1 (1.4.0.SNAPSHOT)
> [  51] [Active     ] [            ] [   60] Apache ServiceMix Specs ::
> STAX API 1.0 (1.4.0.SNAPSHOT)
> [  52] [Active     ] [            ] [   60] Apache ServiceMix Bundles:
> jaxb-impl-2.1.12 (2.1.12.1)
> [  53] [Active     ] [            ] [   60] Commons Management (1.0)
> [  54] [Active     ] [            ] [   60] camel-core (2.1.0.SNAPSHOT)
> [  55] [Active     ] [            ] [   60] geronimo-jta_1.1_spec (1.1.1)
> [  56] [Active     ] [            ] [   60] Spring Transaction (2.5.6.SEC01)
> [  57] [Active     ] [            ] [   60] camel-spring (2.1.0.SNAPSHOT)
> [  58] [Active     ] [            ] [   60] Apache ServiceMix Bundles:
> cglib-2.1_3 (2.1.0.3_2)
> [  59] [Active     ] [            ] [   60] spring-osgi-io (1.2.0)
> [  60] [Active     ] [            ] [   60] spring-osgi-core (1.2.0)
> [  61] [Active     ] [            ] [   60] spring-osgi-extender (1.2.0)
> [  62] [Active     ] [            ] [   60] spring-osgi-annotation (1.2.0)
> [  63] [Active     ] [            ] [   60] camel-osgi (2.1.0.SNAPSHOT)
> [  64] [Active     ] [            ] [   60] Apache ServiceMix
> Transaction (1.1.0.SNAPSHOT)
> [  65] [Active     ] [            ] [   60]
> geronimo-j2ee-connector_1.5_spec (2.0.0)
> [  66] [Active     ] [            ] [   60] Geronimo TxManager ::
> Connector (2.1.3)
> [  67] [Active     ] [            ] [   60] geronimo-jms_1.1_spec (1.1.1)
> [  68] [Active     ] [            ] [   60] Jencks (2.2)
> [  69] [Active     ] [            ] [   60]
> geronimo-j2ee-management_1.1_spec (1.0.1)
> [  70] [Active     ] [            ] [   60] Apache Commons Pool Bundle (1.4)
> [  71] [Active     ] [            ] [   60] xbean-spring (3.5)
> [  72] [Active     ] [            ] [   60] kahadb (5.3.0)
> [  73] [Active     ] [            ] [   60] activemq-core (5.3.0)
> [  74] [Active     ] [            ] [   60] activemq-ra (5.3.0)
> [  75] [Active     ] [            ] [   60] activemq-console (5.3.0)
> [  76] [Active     ] [            ] [   60] activemq-pool (5.3.0)
> [  77] [Active     ] [Created     ] [   60] Apache ServiceMix Features
> :: ActiveMQ Commands (4.1.0.SNAPSHOT)
> [  78] [Active     ] [            ] [   60] camel-bindy (2.1.0.SNAPSHOT)
> [  79] [Active     ] [            ] [   60] activemq-broker.xml (0.0.0)
> {code}
> And now the list of features are UNINSTALLED
> {code}
> karaf@root> features:list
> State         Version            Name                                 Repository
> [uninstalled] [2.1-SNAPSHOT    ] camel                                repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-core                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-spring                         repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-osgi                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-test                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-cxf                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-cache                          repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-castor                         repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-http                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-mina                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-jetty                          repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-servlet                        repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-jms                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-amqp                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-atom                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-bam                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-bindy                          repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-cometd                         repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-csv                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-flatpack                       repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-freemarker                     repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-ftp                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-guice                          repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-groovy                         repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-hl7                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-ibatis                         repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-irc                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-jaxb                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-jcr                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-jing                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-jdbc                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-josql                          repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-jpa                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-jxpath                         repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-juel                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-ldap                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-mail                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-msv                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-mvel                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-ognl                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-printer                        repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-quartz                         repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-restlet                        repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-rmi                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-rss                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-saxon                          repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-scala                          repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-script                         repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-snmp                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-spring-integration             repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-spring-javaconfig              repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-sql                            repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-stream                         repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-string-template                repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-tagsoup                        repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-velocity                       repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-xmlbeans                       repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-xmlsecurity                    repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-xmpp                           repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel-xstream                        repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] connector                            repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] web-core                             repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] web                                  repo-0
> [uninstalled] [5.3.0           ] activemq                             repo-0
> [uninstalled] [2.2.4           ] cxf                                  repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] cxf-osgi                             repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] cxf-jaxrs                            repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] cxf-nmr                              repo-0
> [uninstalled] [2.1-SNAPSHOT    ] camel                                repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] camel-nmr                            repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] examples-cxf-osgi                    repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] examples-cxf-jaxrs                   repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] examples-cxf-nmr                     repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] examples-camel-osgi                  repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] examples-camel-nmr                   repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] examples-cxf-camel-nmr               repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] examples-cxf-ws-addressing           repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] examples-cxf-wsdl-first-osgi-package repo-0
> [uninstalled] [2009.02-SNAPSHOT] servicemix-shared                    repo-0
> [uninstalled] [2009.02-SNAPSHOT] servicemix-cxf-bc                    repo-0
> [uninstalled] [2009.01         ] servicemix-file                      repo-0
> [uninstalled] [2009.01         ] servicemix-ftp                       repo-0
> [uninstalled] [2009.02-SNAPSHOT] servicemix-http                      repo-0
> [uninstalled] [2009.02-SNAPSHOT] servicemix-jms                       repo-0
> [uninstalled] [2009.01         ] servicemix-mail                      repo-0
> [uninstalled] [2009.01         ] servicemix-bean                      repo-0
> [uninstalled] [2009.02-SNAPSHOT] servicemix-camel                     repo-0
> [uninstalled] [2009.02-SNAPSHOT] servicemix-drools                    repo-0
> [uninstalled] [2009.02-SNAPSHOT] servicemix-cxf-se                    repo-0
> [uninstalled] [2009.01         ] servicemix-eip                       repo-0
> [uninstalled] [2009.01         ] servicemix-osworkflow                repo-0
> [uninstalled] [2009.02-SNAPSHOT] servicemix-quartz                    repo-0
> [uninstalled] [2009.01         ] servicemix-scripting                 repo-0
> [uninstalled] [2009.01         ] servicemix-validation                repo-0
> [uninstalled] [2009.01         ] servicemix-saxon                     repo-0
> [uninstalled] [2009.01         ] servicemix-wsn2005                   repo-0
> [uninstalled] [2009.01         ] servicemix-snmp                      repo-0
> [uninstalled] [2009.01         ] servicemix-vfs                       repo-0
> [uninstalled] [2009.02-SNAPSHOT] servicemix-smpp                      repo-0
> [uninstalled] [4.1.0-SNAPSHOT  ] activemq-broker                      repo-0
> [uninstalled] [2.5.6.SEC01     ] spring                               karaf-1.1.0-SNAPSHOT
> [uninstalled] [1.2.0           ] spring-dm                            karaf-1.1.0-SNAPSHOT
> [uninstalled] [1.1.0-SNAPSHOT  ] wrapper                              karaf-1.1.0-SNAPSHOT
> [uninstalled] [1.1.0-SNAPSHOT  ] obr                                  karaf-1.1.0-SNAPSHOT
> [uninstalled] [1.1.0-SNAPSHOT  ] http                                 karaf-1.1.0-SNAPSHOT
> [uninstalled] [1.1.0-SNAPSHOT  ] webconsole                           karaf-1.1.0-SNAPSHOT
> [uninstalled] [1.1.0-SNAPSHOT  ] ssh                                  karaf-1.1.0-SNAPSHOT
> [uninstalled] [1.1.0-SNAPSHOT  ] management                           karaf-1.1.0-SNAPSHOT
> [uninstalled] [1.1.0-SNAPSHOT  ] naming                               repo-0
> [uninstalled] [1.1.0-SNAPSHOT  ] transaction                          repo-0
> [uninstalled] [1.1.0-SNAPSHOT  ] document                             repo-0
> [uninstalled] [1.1.0-SNAPSHOT  ] nmr                                  repo-0
> [uninstalled] [1.1.0-SNAPSHOT  ] nmr-audit                            repo-0
> [uninstalled] [1.1.0-SNAPSHOT  ] jbi                                  repo-0
> [uninstalled] [1.1.0-SNAPSHOT  ] jbi-cluster                          repo-0
> [uninstalled] [1.1.0-SNAPSHOT  ] examples-nmr                         repo-0
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.