A couple of weeks ago the features install was made to be atomic, so if any part of it fails we roll back and uninstall the previously installed bundles. So this is why you see the non-existent bundle ID in the error. There is probably a mismatched bundle version for commons codec so I will take a look.
Chris -- Chris Custine FUSESource :: http://fusesource.com My Blog :: http://blog.organicelement.com Apache ServiceMix :: http://servicemix.apache.org Apache Directory Server :: http://directory.apache.org On Thu, Nov 12, 2009 at 7:47 AM, Charles Moulliard <[email protected]>wrote: > I try to install cxf using ServiceMix 4.1 and here is what happens : > > ka...@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 stops 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 : > > ka...@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 > > ka...@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) > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***************************** > blog : http://cmoulliard.blogspot.com > twitter : http://twitter.com/cmoulliard >
