L.S., Are you perhaps running ServiceMix on a server/machine that has no/limited internet connectivity? When installing this feature, ServiceMix will go out to Maven central repository to download the additional bundles it needs and you'll get this error when it is unable to do so.
If you download the full assembly instead from http://servicemix.apache.org/downloads.html, all bundles for the optional features are already in the assembly so it does no longer need to go and download stuff. Regards, Gert Vanthienen ------------------------ FuseSource Web: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ On Wed, May 23, 2012 at 6:44 PM, wagner <[email protected]> wrote: > Hi, > When typed: > features:install webconsole > > a got the exception below. > > Could someone give me some hint to fix it, please? > > I'm using Apache ServiceMix (4.4.1) > > best regards, > > > karaf@root> log:display | grep console > 2012-05-23 12:19:52,526 | INFO | FelixStartLevel | HttpServiceFactoryImpl > | ? ? | 113 - > org.ops4j.pax.web.pax-web-runtime - 1.0.7 | Binding bundle: > [org.apache.karaf.webconsole.console [162]] to http service > 2012-05-23 12:19:52,527 | INFO | FelixStartLevel | log > | ? ? | 108 - org.eclipse.jetty.util - > 7.4.5.v20110725 | started > > HttpServiceContext{httpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@ca7081 > } > 2012-05-23 12:19:52,537 | INFO | arafOsgiManager) | log > | ? ? | 108 - org.eclipse.jetty.util - > 7.4.5.v20110725 | stopped > > HttpServiceContext{httpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@ca7081 > } > 2012-05-23 12:19:52,537 | INFO | arafOsgiManager) | HttpServiceFactoryImpl > | ? ? | 113 - > org.ops4j.pax.web.pax-web-runtime - 1.0.7 | Unbinding bundle: > [org.apache.karaf.webconsole.console [162]] > 2012-05-23 12:19:52,540 | INFO | arafOsgiManager) | HttpServiceFactoryImpl > | ? ? | 113 - > org.ops4j.pax.web.pax-web-runtime - 1.0.7 | Binding bundle: > [org.apache.karaf.webconsole.console [162]] to http service > 2012-05-23 12:19:52,541 | INFO | arafOsgiManager) | log > | ? ? | 108 - org.eclipse.jetty.util - > 7.4.5.v20110725 | started > > HttpServiceContext{httpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@1d1ab77 > } > 2012-05-23 12:19:52,599 | WARN | FelixStartLevel | ServletTracker > | ? ? | 125 - > org.ops4j.pax.web.pax-web-extender-whiteboard - 1.0.7 | Registered servlet > [org.apache.felix.webconsole.plugins.event.internal.PluginServlet@1a43cda] > did not contain a valid alias or url patterns property > 2012-05-23 12:19:53,894 | INFO | rint Extender: 2 | AdminPlugin > | ? ? | 163 - > org.apache.karaf.webconsole.admin - 2.2.4 | Admin plugin activated > 2012-05-23 12:19:53,894 | WARN | rint Extender: 2 | ServletTracker > | ? ? | 125 - > org.ops4j.pax.web.pax-web-extender-whiteboard - 1.0.7 | Registered servlet > [org.apache.karaf.webconsole.admin.AdminPlugin@299bf5] did not contain a > valid alias or url patterns property > 2012-05-23 12:19:53,905 | INFO | rint Extender: 2 | FeaturesPlugin > | ? ? | 164 - > org.apache.karaf.webconsole.features - 2.2.4 | Features plugin activated > 2012-05-23 12:19:53,905 | WARN | rint Extender: 2 | ServletTracker > | ? ? | 125 - > org.ops4j.pax.web.pax-web-extender-whiteboard - 1.0.7 | Registered servlet > [org.apache.karaf.webconsole.features.FeaturesPlugin@16edf95] did not > contain a valid alias or url patterns property > 2012-05-23 12:19:53,912 | INFO | rint Extender: 2 | GogoPlugin > | ? ? | 165 - > org.apache.karaf.webconsole.gogo - 2.2.4 | Gogo plugin activated > 2012-05-23 12:19:53,912 | WARN | rint Extender: 2 | ServletTracker > | ? ? | 125 - > org.ops4j.pax.web.pax-web-extender-whiteboard - 1.0.7 | Registered servlet > [org.apache.karaf.webconsole.gogo.GogoPlugin@1f9bdc4] did not contain a > valid alias or url patterns property > 2012-05-23 12:20:10,869 | INFO | l Console Thread | FeaturesServiceImpl > | ? ? | 29 - > org.apache.karaf.features.core - 2.2.4 | Installing feature webconsole > 2.2.4 > 2012-05-23 12:20:10,870 | INFO | l Console Thread | FeaturesServiceImpl > | ? ? | 29 - > org.apache.karaf.features.core - 2.2.4 | Installing feature webconsole-base > 2.2.4 > 2012-05-23 12:25:56,665 | ERROR | l Console Thread | FeaturesServiceImpl > | ? ? | 29 - > org.apache.karaf.features.core - 2.2.4 | URL > [mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.admin/2.2.4] > could not be resolved. > 2012-05-23 12:25:56,665 | INFO | l Console Thread | Console > | ? ? | 25 - > org.apache.karaf.shell.console - 2.2.4 | Exception caught while executing > command > java.lang.RuntimeException: URL > [mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.admin/2.2.4] > could not be resolved. > at > > org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[25:org.apache.karaf.shell.console:2.2.4] > at > > org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[25:org.apache.karaf.shell.console:2.2.4] > at > > org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:2.2.4] > at > > org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[25:org.apache.karaf.shell.console:2.2.4] > at > > org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[25:org.apache.karaf.shell.console:2.2.4] > at > > org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:2.2.4] > at > > org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:2.2.4] > at > > org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:2.2.4] > at > > org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[25:org.apache.karaf.shell.console:2.2.4] > at > > org.apache.karaf.shell.console.jline.Console.run(Console.java:218)[25:org.apache.karaf.shell.console:2.2.4] > karaf@root> > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/java-lang-RuntimeException-URL-mvn-org-apache-karaf-webconsole-org-apache-karaf-webconsole-admin-2-2-tp5713339.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. >
