karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Lyaruu <flya...@gmail.com>
Subject Re: Component view in WebConsole missing
Date Wed, 06 Jan 2016 10:29:06 GMT
Hi JB,

Yes, I did.

If I run a vanilla Karaf, and do a:

feature:install webconsole
feature:install scr


I have a 'Components' tab in Karaf 3.0.5, and I don't in 4.0.3

I've tried to install the webconsole.ds plugin manually:

bundle:install
mvn:org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.0.2


Then it complains about org.apache.felix.inventory, so I install that too:

bundle:install mvn:org.apache.felix/org.apache.felix.inventory/1.0.4

Then I get this error:

Error executing command: Error executing command on bundles:

Error starting bundle98: Unable to resolve
org.apache.felix.webconsole.plugins.ds [98](R 98.0): missing requirement
[org.apache.felix.webconsole.plugins.ds [98](R 98.0)] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.felix.webconsole.bundleinfo)(version>=1.0.0)(!(version>=2.0.0)))
Unresolved requirements: [[org.apache.felix.webconsole.plugins.ds [98](R
98.0)] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.felix.webconsole.bundleinfo)(version>=1.0.0)(!(version>=2.0.0)))]

And indeed there is no bundle that exports the package
org.apache.felix.webconsole.bundleinfo

At the moment I'm a little confused about the difference between the Karaf
webconsole bundle 'org.apache.karaf.webconsole.console' and the felix
webconsole. Did something funky happen there? The felix webconsole bundle
does export that package.

regards, Frank

On Wed, Jan 6, 2016 at 10:23 AM, Jean-Baptiste Onofré <jb@nanthrax.net>
wrote:

> Hi Frank,
>
> did you install both webconsole and scr feature ?
>
> There's a condition in scr feature to install the scr plugin only if the
> webconsole feature is installed:
>
>         <conditional>
>             <condition>webconsole</condition>
>             <bundle
> start-level="30">mvn:org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.0.2</bundle>
>         </conditional>
>
>
> Regards
> JB
>
>
> On 01/06/2016 10:20 AM, Frank Lyaruu wrote:
>
>> Hi Karaf crowd,
>>
>> I'm upgrading from Karaf 3 to Karaf 4, and I notice that in Karaf 4 the
>> SCR component view is missing from the Karaf webconsole, as far as I can
>> see the SCR plugin for webconsole simply isn't there.
>>
>> Is that intentional?
>>
>> regards, Frank
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Mime
View raw message