Hi It sounds like a bug in Cellar WebConsole that didn't extend his version range whereas Karaf updated to new Felix WebConsole version (4.x).
I gonna fix that this afternoon. Regards JB -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://wwx.talend.com ----- Reply message ----- From: "Andreas" <[email protected]> To: <[email protected]> Subject: Problem/Error installing cellar-webconsole Date: Tue, Feb 19, 2013 9:15 am Hi all, I have trouble installing cellar-webconsole. Cellar is installed successfully and is up and running (communication with a second node works as expected). I use a clean Apache Karaf 2.2.10 (feature 'webconsole' installed) and Cellar 2.2.5. on a Debian system. If I try to install cellar-webconsole I get the following error in karaf console: karaf@root> features:install cellar-webconsole Error executing command: Could not start bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.webconsole/2.2.5 in feature(s) cellar-webconsole-2.2.5: Unresolved constraint in bundle org.apache.karaf.cellar.webconsole [95]: Unable to resolve 95.0: missing requirement [95.0] package; (&(package=org.apache.felix.webconsole)(version>=3.1.0)(!(version>=4.0.0))) with the following stacktrace in log: 2013-02-18 16:42:51,354 | INFO | Thread-11 | Console | 13 - org.apache.karaf.shell.console - 2.2.10 | Exception caught while executing command java.lang.Exception: Could not start bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.webconsole/2.2.5 in feature(s) cellar-webconsole-2.2.5: Unresolved constraint in bundle org.apache.karaf.cellar.webconsole [94]: Unable to resolve 94.0: missing requirement [94.0] package; (&(package=org.apache.felix.webconsole)(version>=3.1.0)(!(version>=4.0.0))) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:356) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:283) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:279) at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62) at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39) at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) at org.apache.karaf.shell.console.jline.Console.run(Console.java:173) at java.lang.Thread.run(Thread.java:722)[:1.7.0] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:144)[38:org.apache.karaf.shell.ssh:2.2.10] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:135) at java.security.AccessController.doPrivileged(Native Method)[:1.7.0] at javax.security.auth.Subject.doAs(Subject.java:356)[:1.7.0] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:133)[38:org.apache.karaf.shell.ssh:2.2.10] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.karaf.cellar.webconsole [94]: Unable to resolve 94.0: missing requirement [94.0] package; (&(package=org.apache.felix.webconsole)(version>=3.1.0)(!(version>=4.0.0))) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564) at org.apache.felix.framework.Felix.startBundle(Felix.java:1797) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:353) ... 20 more So I tried to install Apache Felix Webconsole 3.1.8 bundle explicitly (with Apache Felix Http Jetty 2.0.4 before, cause it seems to be required for this). This work also as expected. But the error above is still the same. So I tried to change the startup level of the two bunldes to 30 to be system bundles. Same result. The list of installed bundles is as follows: START LEVEL 100 , List Threshold: 0 ID State Blueprint 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.10) [ 4] [Active ] [ ] [ 8] OPS4J Pax Logging - API (1.6.10) [ 5] [Active ] [ ] [ 10] Apache Felix Configuration Admin Service (1.2.8) [ 6] [Active ] [ ] [ 11] Apache Felix File Install (3.2.4) [ 7] [Active ] [ ] [ 20] Apache Aries Proxy Bundle (0.3.1) [ 8] [Active ] [ ] [ 20] Apache ServiceMix :: Bundles :: asm (3.3.1.1) [ 9] [Active ] [Created ] [ 20] Apache Aries Blueprint Bundle (0.3.2) [ 10] [Active ] [ ] [ 20] Apache Aries Util (0.3.1) [ 11] [Active ] [Created ] [ 28] Apache Karaf :: Deployer :: Blueprint (2.2.10) [ 12] [Active ] [Created ] [ 28] Apache Karaf :: Deployer :: Spring (2.2.10) [ 13] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: Console (2.2.10) [ 14] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: OSGi Commands (2.2.10) [ 15] [Active ] [Created ] [ 30] Apache Karaf :: Admin :: Management (2.2.10) [ 16] [Active ] [Created ] [ 30] Apache Karaf :: Features :: Management (2.2.10) [ 17] [Active ] [Created ] [ 30] Apache Karaf :: Deployer :: Features (2.2.10) [ 18] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: PackageAdmin Commands (2.2.10) [ 19] [Active ] [ ] [ 30] Apache Karaf :: Diagnostic :: Core (2.2.10) [ 20] [Active ] [Created ] [ 30] Apache Karaf :: Features :: Core (2.2.10) [ 21] [Active ] [Created ] [ 30] Apache Karaf :: Management (2.2.10) [ 22] [Active ] [Created ] [ 30] Apache Karaf :: Deployer :: Wrap Non OSGi Jar (2.2.10) [ 23] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: Various Commands (2.2.10) [ 24] [Active ] [ ] [ 30] Apache Mina SSHD :: Core (0.8.0) [ 25] [Active ] [Created ] [ 30] Apache Karaf :: Deployer :: Karaf Archive (.kar) (2.2.10) [ 26] [Active ] [ ] [ 30] Apache Aries JMX Blueprint Bundle (0.3.0) [ 27] [Active ] [Created ] [ 30] Apache Karaf :: JAAS :: Modules (2.2.10) [ 28] [Active ] [Created ] [ 30] Apache Karaf :: JAAS :: Config (2.2.10) [ 29] [Active ] [ ] [ 30] Apache Aries JMX API (0.3.0) [ 30] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: Log Commands (2.2.10) [ 31] [Active ] [Created ] [ 30] Apache Karaf :: Admin :: Core (2.2.10) [ 32] [Active ] [Created ] [ 30] Apache Karaf :: Jaas :: Command (2.2.10) [ 33] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: Development Commands (2.2.10) [ 34] [Active ] [Created ] [ 30] Apache Karaf :: Diagnostic :: Management (2.2.10) [ 35] [Active ] [Created ] [ 30] Apache Karaf :: Diagnostic :: Command (2.2.10) [ 36] [Active ] [ ] [ 30] Apache MINA Core (2.0.5) [ 37] [Active ] [Created ] [ 30] Apache Karaf :: Features :: Command (2.2.10) [ 38] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: SSH (2.2.10)[ 39] [Active ] [Created ] [ 30] Apache Karaf :: Admin :: Command (2.2.10) [ 40] [Active ] [Created ] [ 30] Apache Karaf :: Diagnostic :: Common (2.2.10) [ 41] [Active ] [ ] [ 30] Apache Aries JMX Core (0.3.1) [ 42] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: ConfigAdmin Commands (2.2.10) [ 43] [Active ] [Created ] [ 30] Apache Karaf :: Management :: MBeans :: System (2.2.10) [ 44] [Active ] [Created ] [ 30] Apache Karaf :: Management :: MBeans :: Bundles (2.2.10) [ 45] [Active ] [Created ] [ 30] Apache Karaf :: Management :: MBeans :: Services (2.2.10) [ 46] [Active ] [Created ] [ 30] Apache Karaf :: Management :: MBeans :: Config (2.2.10) [ 47] [Active ] [Created ] [ 30] Apache Karaf :: Management :: MBeans :: Log (2.2.10) [ 48] [Active ] [Created ] [ 30] Apache Karaf :: Management :: MBeans :: Packages (2.2.10) [ 49] [Active ] [Created ] [ 30] Apache Karaf :: Management :: MBeans :: Dev (2.2.10) [ 50] [Active ] [ ] [ 30] Apache ServiceMix :: Specs :: Activation API 1.4 (2.0.0) [ 51] [Active ] [ ] [ 30] geronimo-servlet_2.5_spec (1.1.2) [ 52] [Active ] [ ] [ 30] JavaMail API (compat) (1.4.5) [ 53] [Active ] [ ] [ 30] geronimo-jta_1.1_spec (1.1.1) [ 54] [Active ] [ ] [ 30] Jetty :: Utilities (7.5.4.v20111024) [ 55] [Active ] [ ] [ 30] Jetty :: IO Utility (7.5.4.v20111024) [ 56] [Active ] [ ] [ 30] Jetty :: Http Utility (7.5.4.v20111024) [ 57] [Active ] [ ] [ 30] Jetty :: Asynchronous HTTP Client (7.5.4.v20111024) [ 58] [Active ] [ ] [ 30] Jetty :: Continuation (7.5.4.v20111024) [ 59] [Active ] [ ] [ 30] Jetty :: JMX Management (7.5.4.v20111024) [ 60] [Active ] [ ] [ 30] Jetty :: Server Core (7.5.4.v20111024) [ 61] [Active ] [ ] [ 30] Jetty :: Security (7.5.4.v20111024) [ 62] [Active ] [ ] [ 30] Jetty :: Servlet Handling (7.5.4.v20111024) [ 63] [Active ] [ ] [ 30] Jetty :: Utility Servlets and Filters (7.5.4.v20111024) [ 64] [Active ] [ ] [ 30] Jetty :: XML utilities (7.5.4.v20111024) [ 65] [Active ] [ ] [ 30] Jetty :: Webapp Application Support (7.5.4.v20111024) [ 66] [Active ] [ ] [ 30] Jetty :: JNDI Naming (7.5.4.v20111024) [ 67] [Active ] [ ] [ 30] Jetty :: Plus (7.5.4.v20111024) [ 68] [Active ] [ ] [ 30] Jetty :: Websocket (7.5.4.v20111024) [ 69] [Active ] [ ] [ 30] OPS4J Pax Web - API (1.0.12.1) [ 70] [Active ] [ ] [ 30] OPS4J Pax Web - Service SPI (1.0.12.1) [ 71] [Active ] [ ] [ 30] OPS4J Pax Web - Runtime (1.0.12.1) [ 72] [Active ] [ ] [ 30] OPS4J Pax Web - Jetty (1.0.12.1) [ 73] [Active ] [ ] [ 30] Apache Felix Metatype Service (1.0.4) [ 74] [Resolved ] [ ] [ 30] Apache Karaf :: Web Console :: Branding (2.2.10) Hosts: 75 [ 75] [Active ] [Created ] [ 30] Apache Karaf :: Web Console :: Console (2.2.10) Fragments: 74 [ 76] [Active ] [Created ] [ 30] Apache Karaf :: Web Console :: Admin Plugin (2.2.10) [ 77] [Active ] [Created ] [ 30] Apache Karaf :: Web Console :: Features Plugin (2.2.10) [ 78] [Active ] [Created ] [ 30] Apache Karaf :: Web Console :: Gogo Plugin (2.2.10) [ 79] [Active ] [ ] [ 30] Apache Felix Web Console Event Plugin (1.0.2) [ 80] [Active ] [ ] [ 30] Apache Felix Http Jetty (2.0.4) [ 81] [Active ] [ ] [ 30] Apache Felix Web Management Console (3.1.8) [ 82] [Active ] [Created ] [ 31] hazelcast (1.9.4.8) Fragments: 84 [ 83] [Active ] [Created ] [ 32] Apache Karaf :: Cellar :: Core (2.2.5) [ 84] [Resolved ] [ ] [ 33] Apache Karaf :: Cellar :: Hazelcast (2.2.5) Hosts: 82 [ 85] [Active ] [Created ] [ 40] Apache Karaf :: Cellar :: Config (2.2.5) [ 86] [Active ] [Created ] [ 40] Apache Karaf :: Cellar :: Features (2.2.5) [ 87] [Active ] [Created ] [ 40] Apache Karaf :: Cellar :: Bundle (2.2.5) [ 88] [Active ] [Created ] [ 40] Apache Karaf :: Cellar :: DOSGi (2.2.5) [ 89] [Active ] [Created ] [ 40] Apache Karaf :: Cellar :: Utils (2.2.5) [ 90] [Active ] [Created ] [ 40] Apache Karaf :: Cellar :: Shell (2.2.5) [ 91] [Active ] [Created ] [ 40] Apache Karaf :: Cellar :: Management (2.2.5) What went wrong here? Do you have any ideas? Regards Andreas -- View this message in context: http://karaf.922171.n3.nabble.com/Problem-Error-installing-cellar-webconsole-tp4027801.html Sent from the Karaf - User mailing list archive at Nabble.com.
