[ 
https://issues.apache.org/jira/browse/KARAF-6950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17244102#comment-17244102
 ] 

Jean-Baptiste Onofré commented on KARAF-6950:
---------------------------------------------

You didn't read this: [http://blog.nanthrax.net/?p=1038]

See the "Features (requirements and capabilities)" section:
{code:java}
For instance, it’s the case of webconsole. Previously installing webconsole 
feature installed Pax Web. And so, it was not easy (almost impossible) to use 
the WebConsole with Felix HTTP instead of Pax Web.So, now, it’s “decoupled” and 
based on capability and requirement.Meaning that you can first install 
felix-http feature and then the webconsole feature, that will use Felix HTTP. 
{code}
So basically, before installing {{webconsole}} feature, you have to install 
either {{http}} or {{felix-http}} feature.

> webconsole broke on 4.3.0
> -------------------------
>
>                 Key: KARAF-6950
>                 URL: https://issues.apache.org/jira/browse/KARAF-6950
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf, webconsole
>    Affects Versions: 4.3.0
>         Environment: Debian Sid
> Apache Karaf 4.3.0 tar.gz
> Extract and run ./karaf
> feature:install webconsole
>            Reporter: Charles George
>            Priority: Critical
>
> From a freshly downloaded Apache Karaf 4.3.0, attempting to install 
> webconsole via "feature:install webconsole" fails.
> karaf@root()> feature:install webconsole
> org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: 
> missing requirement [root] osgi.identity; osgi.identity=webconsole; 
> type=karaf.feature; version="[4.3.0,4.3.0]"; 
> filter:="(&(osgi.identity=webconsole)(type=karaf.feature)(version>=4.3.0)(version<=4.3.0))"
>  [caused by: Unable to resolve webconsole/4.3.0: missing requirement 
> [webconsole/4.3.0] osgi.implementation; osgi.implementation=osgi.http; 
> version:Version=1.1.0]
>  at 
> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)
>  at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:434)
>  at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:421)
>  at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375)
>  at 
> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
>  at 
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:392)
>  at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
>  at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>  at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to 
> resolve webconsole/4.3.0: missing requirement [webconsole/4.3.0] 
> osgi.implementation; osgi.implementation=osgi.http; version:Version=1.1.0
>  at 
> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)
>  ... 12 more
> Error executing command: Unable to resolve root: missing requirement [root] 
> osgi.identity; osgi.identity=webconsole; type=karaf.feature; 
> version="[4.3.0,4.3.0]"; 
> filter:="(&(osgi.identity=webconsole)(type=karaf.feature)(version>=4.3.0)(version<=4.3.0))"
>  [caused by: Unable to resolve webconsole/4.3.0: missing requirement 
> [webconsole/4.3.0] osgi.implementation; osgi.implementation=osgi.http; 
> version:Version=1.1.0]
> karaf@root()>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to