karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Component view in WebConsole missing
Date Wed, 06 Jan 2016 13:33:29 GMT
Actually, it doesn't work on 4.0.4-SNAPSHOT neither.

I found that the WebConsole DS plugin bundle can't be installed due to a 
missing dependency:

Unable to resolve org.apache.felix.webconsole.plugins.ds [99](R 99.0): 
missing requirement [org.apache.felix.webconsole.plugins.ds [99](R 
99.0)] osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.felix.inventory)(version>=1.0.0)(!(version>=2.0.0)))

Unresolved requirements: [[org.apache.felix.webconsole.plugins.ds [99](R 
99.0)] osgi.wiring.package; 
(&(osgi.wiring.package=org.apache.felix.inventory)(version>=1.0.0)(!(version>=2.0.0)))]

It could explain why the resolver doesn't install it.

Let me fix that and see if it helps.

Else, I will create a Jira in order to fix that.

I keep you posted.

Regards
JB

On 01/06/2016 02:23 PM, Frank Lyaruu wrote:
> Well I see no trace of Karaf trying to install the  ds webconsole plugin.
> After I've installed webconsole, if I do:
>
> karaf@root()> feature:install -v scr
>
> I get:
>
>     Adding features: scr/[4.0.3,4.0.3]
>     Changes to perform:
>        Region: root
>          Bundles to install:
>            mvn:org.apache.felix/org.apache.felix.scr/2.0.2
>            mvn:org.apache.felix/org.apache.felix.scr.compat/1.0.2
>            mvn:org.apache.karaf.scr/org.apache.karaf.scr.command/4.0.3
>            mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.0.3
>     Installing bundles:
>        mvn:org.apache.felix/org.apache.felix.scr/2.0.2
>        mvn:org.apache.felix/org.apache.felix.scr.compat/1.0.2
>        mvn:org.apache.karaf.scr/org.apache.karaf.scr.command/4.0.3
>        mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.0.3
>     Starting bundles:
>        org.apache.felix.scr/2.0.2
>        org.apache.felix.scr.compat/1.0.2
>        org.apache.karaf.scr.management/4.0.3
>        org.apache.karaf.scr.command/4.0.3
>     Done.
>
> In fact, it behaves exactly the same when webconsole isn't there. That
> seems also weird.
>
>
> On Wed, Jan 6, 2016 at 2:02 PM, Jean-Baptiste Onofré <jb@nanthrax.net
> <mailto:jb@nanthrax.net>> wrote:
>
>     But, you should have the details when doing feature:install -v
>     anyway (just to confirm it's the same issue).
>
>     On 01/06/2016 01:57 PM, Frank Lyaruu wrote:
>
>         Yes that seems to be exactly the same problem, and as your change
>         request has been merged, this problem should be gone in the next
>         release, right?
>
>         regards, Frank
>
>         On Wed, Jan 6, 2016 at 11:36 AM, Oliver Lietz
>         <apache@oliverlietz.de <mailto:apache@oliverlietz.de>
>         <mailto:apache@oliverlietz.de <mailto:apache@oliverlietz.de>>>
>         wrote:
>
>              On Wednesday 06 January 2016 10:23:07 Jean-Baptiste Onofré
>         wrote:
>               > Hi Frank,
>
>              hi,
>
>              > 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>
>
>              I can confirm problems with several plugins, see my comment
>         in Sling's
>              features file:
>
>         https://github.com/apache/sling/blob/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-features/src/main/feature/feature.xml#L283
>
>              A related issue is KARAF-4226.
>
>              Regards,
>              O.
>
>               > 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 <mailto:jbonofre@apache.org>
>     http://blog.nanthrax.net
>     Talend - http://www.talend.com
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message