Fixed; the problem was that both services are defined in the same blueprint.xml. If export and import happen in the same file it could happen that the import is required before the import --> if this happens you always have to set the availability="optional" attribute.
I've commited the change Kind regards, Andreas On Fri, Aug 19, 2011 at 10:17, Charles Moulliard <[email protected]>wrote: > It is not visible > > [ 90] [Active ] [GracePeriod ] [ ] [ 60] Apache Karaf :: > Karaf Webconsole Prototype :: Core (1.0.0.SNAPSHOT) > [ 91] [Active ] [Created ] [ ] [ 60] Apache Karaf :: > Karaf Webconsole Prototype :: OSGi Blueprint (1.0.0.SNAPSHOT) > [ 92] [Active ] [Created ] [ ] [ 60] Apache Karaf :: > Karaf Webconsole Prototype :: OSGi Bundle Presentation > (1.0.0.SNAPSHOT) > [ 93] [Active ] [Created ] [ ] [ 60] Apache Karaf :: > Karaf Webconsole Prototype :: Karaf extension (1.0.0.SNAPSHOT) > > > Apache Karaf :: Karaf Webconsole Prototype :: OSGi Blueprint (91) provides: > --------------------------------------------------------------------------- > org.apache.karaf.webconsole.core.navigation.NavigationProvider > org.osgi.service.blueprint.container.BlueprintContainer > > Apache Karaf :: Karaf Webconsole Prototype :: OSGi Bundle Presentation > (92) provides: > > ------------------------------------------------------------------------------------- > org.apache.karaf.webconsole.core.widget.WidgetProvider > org.apache.karaf.webconsole.core.navigation.ConsoleTab > org.osgi.service.blueprint.container.BlueprintContainer > > Apache Karaf :: Karaf Webconsole Prototype :: Karaf extension (93) > provides: > > ---------------------------------------------------------------------------- > org.apache.karaf.webconsole.core.widget.WidgetProvider > org.apache.karaf.webconsole.core.navigation.ConsoleTab > org.osgi.service.blueprint.container.BlueprintContainer > > > > > On Fri, Aug 19, 2011 at 10:12 AM, Jean-Baptiste Onofré <[email protected]> > wrote: > > Hi Charles, > > > > it looks like the BrandProvider service is not available. > > > > Did you check with ls command if the BrandProvider is visible ? > > > > Regards > > JB > > > > On 08/19/2011 09:58 AM, Charles Moulliard wrote: > >> > >> Hi, > >> > >> Can someone check why we have this error with last code committed for > >> Apache Karaf Webconsole Wicket > >> > >> 09:54:15,401 | INFO | rint Extender: 1 | BlueprintContainerImpl > >> | container.BlueprintContainerImpl 305 | 9 - > >> org.apache.aries.blueprint - 0.3.1 | Bundle > >> org.apache.karaf.webconsole.core is waiting for dependencies > >> [(objectClass=org.apache.karaf.webconsole.core.brand.BrandProvider)] > >> > >> The blueprint file of core bundle exports well the service > >> > >> <service > >> interface="org.apache.karaf.webconsole.core.brand.BrandProvider"> > >> <bean > >> class="org.apache.karaf.webconsole.core.brand.DefaultBrandProvider" > >> /> > >> </service> > >> > >> <reference id="brandProvider" > >> interface="org.apache.karaf.webconsole.core.brand.BrandProvider" /> > >> > >> Regards, > >> > >> Charles Moulliard > >> > >> Apache Committer > >> > >> Blog : http://cmoulliard.blogspot.com > >> Twitter : http://twitter.com/cmoulliard > >> Linkedin : http://www.linkedin.com/in/charlesmoulliard > >> Skype: cmoulliard > > > > -- > > Jean-Baptiste Onofré > > [email protected] > > http://blog.nanthrax.net > > Talend - http://www.talend.com > > >
