Thats what I did already, see last message below.
The resolution error is caused when adding the felix-eventadmin.
This is my bnd-runrequires
-runrequires: \
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.runtime)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.shell)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.scr)',\
osgi.identity;filter:='(osgi.identity=org.apache.aries.blueprint)',\
osgi.identity;filter:='(osgi.identity=org.apache.aries.proxy)',\
osgi.identity;filter:='(osgi.identity=org.apache.aries.util)',\
osgi.identity;filter:='(osgi.identity=stax2-api)',\
osgi.identity;filter:='(osgi.identity=woodstox-core-asl)',\
osgi.identity;filter:='(osgi.identity=org.apache.neethi)',\
osgi.identity;filter:='(osgi.identity=org.ops4j.pax.logging.pax-logging-logback)',\
osgi.identity;filter:='(osgi.identity=org.ops4j.pax.logging.pax-logging-service)',\
osgi.identity;filter:='(osgi.identity=org.apache.cxf.cxf-rt-frontend-jaxws)',\
osgi.identity;filter:='(osgi.identity=org.apache.neethi)',\
osgi.identity;filter:='(osgi.identity=org.apache.ws.xmlschema.core)',\
osgi.identity;filter:='(osgi.identity=mybundle)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.http.jetty)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.metatype)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.eventadmin)'
Von: Balázs Zsoldos <[email protected]>
An: [email protected],
Datum: 12.03.2015 14:07
Betreff: Re: Antwort: Re: Re: Felix-Webconsole with Configadmin
shows empty Configurations-Table
You need to install felix eventadmin, too.
On Mar 12, 2015 1:41 PM, <[email protected]> wrote:
> Ah thank you. That´s probably the reason.
>
> Unfortunately I cannot start my runtime after adding felix.metatype due
to
> a missing class.
>
> Activator start error in bundle org.apache.felix.http.jetty [29].
> at
org.apache.felix.framework.Felix.activateBundle(Felix.java:2204
> )
> ...
> NoClassDefFoundError: org/osgi/service/event/EventAdmin
>
> So there is an optional package-import which is used in the
> felix-jetty-Activator. I downloaded the EventAdmin-Package from the
> felix-website and added this one as well. Now my bundles cannot be
> resolved any more.
>
> Caused by: org.osgi.service.resolver.ResolutionException: Unable to
> resolve <<INITIAL>> version=null: missing requirement
>
>
Require[osgi.identity]{}{filter=(osgi.identity=org.apache.felix.eventadmin)}
> at
> biz.aQute.resolve.ResolveProcess.augment(ResolveProcess.java:157)
> at
>
biz.aQute.resolve.ResolveProcess.resolveRequired(ResolveProcess.java:133)
> at
> biz.aQute.resolve.ResolveProcess.resolveRequired(ResolveProcess.java:45)
> ... 3 more
>
>
>
>
>
>
>
> Von: Balázs Zsoldos <[email protected]>
> An: [email protected],
> Datum: 12.03.2015 13:05
> Betreff: Re: Re: Felix-Webconsole with Configadmin shows empty
> Configurations-Table
>
>
>
> I cannot see metatype implementation. Install felix-metatype as well,
> otherwise nothing will pick up your metatype.xml.
>
> On Thu, Mar 12, 2015 at 12:53 PM, <[email protected]> wrote:
>
> > This is my runtime-configuration. It basically just uses aries because
> of
> > cxf (thats also why there are stax, woodstock, neethi, wsdl4j),
> > pax-logging, and the felix stuff.
> >
> > -runbundles: \
> > ch.qos.logback.classic;version='[1.1.2,1.1.3)',\
> > ch.qos.logback.core;version='[1.1.2,1.1.3)',\
> > mybundle;version=latest,\
> > org.apache.aries.blueprint;version='[1.1.0,1.1.1)',\
> > org.apache.aries.proxy;version='[1.0.0,1.0.1)',\
> > org.apache.aries.util;version='[1.0.0,1.0.1)',\
> > org.apache.commons.lang3;version='[3.3.2,3.3.3)',\
> > org.apache.cxf.cxf-core;version='[3.0.4,3.0.5)',\
> > org.apache.cxf.cxf-rt-bindings-soap;version='[3.0.4,3.0.5)',\
> > org.apache.cxf.cxf-rt-bindings-xml;version='[3.0.4,3.0.5)',\
> > org.apache.cxf.cxf-rt-databinding-jaxb;version='[3.0.4,3.0.5)',\
> > org.apache.cxf.cxf-rt-frontend-jaxws;version='[3.0.4,3.0.5)',\
> > org.apache.cxf.cxf-rt-frontend-simple;version='[3.0.4,3.0.5)',\
> > org.apache.cxf.cxf-rt-transports-http;version='[3.0.4,3.0.5)',\
> > org.apache.cxf.cxf-rt-wsdl;version='[3.0.4,3.0.5)',\
> > org.apache.felix.configadmin;version='[1.8.0,1.8.1)',\
> > org.apache.felix.gogo.command;version='[0.14.0,0.14.1)',\
> > org.apache.felix.gogo.runtime;version='[0.12.1,0.12.2)',\
> > org.apache.felix.gogo.shell;version='[0.10.0,0.10.1)',\
> > org.apache.felix.http.jetty;version='[2.2.2,2.2.3)',\
> > org.apache.felix.scr;version='[1.8.2,1.8.3)',\
> > org.apache.felix.webconsole;version='[4.2.2,4.2.3)',\
> > org.apache.neethi;version='[3.0.3,3.0.4)',\
> > org.apache.servicemix.bundles.wsdl4j;version='[1.6.2,1.6.3)',\
> > org.apache.ws.xmlschema.core;version='[2.2.1,2.2.2)',\
> > org.ops4j.pax.logging.pax-logging-api;version='[1.8.1,1.8.2)',\
> > org.ops4j.pax.logging.pax-logging-logback;version='[1.8.1,1.8.2)',\
> > org.ops4j.pax.logging.pax-logging-service;version='[1.8.1,1.8.2)',\
> > osgi.residential;version='[4.3.0,4.3.1)',\
> > slf4j.api;version='[1.7.7,1.7.8)',\
> > stax2-api;version='[3.1.4,3.1.5)',\
> > woodstox-core-asl;version='[4.4.1,4.4.2)'
> >
> > Is there a command to check for available packages and which bundle
> > provides them?
> >
> >
> >
> > Von: Balázs Zsoldos <[email protected]>
> > An: [email protected],
> > Datum: 12.03.2015 12:41
> > Betreff: Re: Felix-Webconsole with Configadmin shows empty
> > Configurations-Table
> >
> >
> >
> > The package org.osgi.service.cm might be available multiple times in
> your
> > OSGi container and webconsole and configadmin wires to different
> > interfaces.
> >
> > *Zsoldos Balázs*
> > Rendszertervező | Software architect
> >
> >
> > +36 70 594 9234 | [email protected]
> >
> > *EverIT Kft.*
> > 1137 Budapest, Katona József utca 17. III. em. 2.
> > http://www.everit.biz I [email protected]
> >
> >
> > Ezen üzenet és annak bármely csatolt anyaga bizalmas, jogi védelem
alatt
> > áll, a nyilvános közléstől védett. Az üzenetet kizárólag a címzett,
> > illetve
> > az általa meghatalmazottak használhatják fel. Ha Ön nem az üzenet
> > címzettje, úgy kérjük, hogy telefonon, vagy e-mail-ben értesítse erről
> az
> > üzenet küldőjét és törölje az üzenetet, valamint annak összes csatolt
> > mellékletét a rendszeréből. Ha Ön nem az üzenet címzettje, abban az
> > esetben
> > tilos az üzenetet vagy annak bármely csatolt mellékletét lemásolnia,
> > elmentenie, az üzenet tartalmát bárkivel közölnie vagy azzal
> visszaélnie.
> >
> >
> > This message and any attachment are confidential and are legally
> > privileged. It is intended solely for the use of the individual or
> entity
> > to whom it is addressed and others authorised to receive it. If you
are
> > not
> > the intended recipient, please telephone or email the sender and
delete
> > this message and any attachment from your system. Please note that any
> > dissemination, distribution, copying or use of or reliance upon the
> > information contained in and transmitted with this e-mail by or to
> anyone
> > other than the recipient designated above by the sender is
unauthorised
> > and
> > strictly prohibited.
> >
> > On Thu, Mar 12, 2015 at 11:59 AM, <[email protected]> wrote:
> >
> > > Hello everyone
> > >
> > > When starting the felix-webconsole I dont see any configurations.
The
> > > felix-configadmin-bundle is installed, all bundles are started.
> > > I provided a metatype.xml to one of my bundles, which might have an
> > error,
> > > but I would expect to see some config from felix or system bundles.
> > >
> > > Screenshot.
> > >
> > >
> > > Is there a know bug?
> > >
> > > felix-version: 4.4.1
> > > felix-webconsole-version: 4.2.2
> > > felix-configadmin-version: 1.8.0
> > >
> > > regards
> > > Marc
> >
> >
>
>