Sahoo, It should not be necessary to have an *instance* of the LogService available. But so many things in OSGi depend on the LogService interface that you should at least have a bundle exporting it.
Typically I always have the osgi.cmpn.jar bundle (downloaded from osgi.org) installed in my framework, whether I'm using Felix or Equinox. That bundle exports all the interfaces found in the OSGi Compendium specification. Regards, Neil On Tue, Feb 3, 2009 at 2:15 PM, Sahoo <[email protected]> wrote: > Contrary to the documentation [1], I am getting following error if I try to > start Felix web console (version 1.2.2) in an environment that does not have > OSGi log service: > SEVERE: Caused by: java.lang.NoClassDefFoundError: > org.osgi.service.log.LogService > Feb 3, 2009 6:21:26 PM SEVERE: at > org.apache.felix.webconsole.internal.Logger.class$(Logger.java:35) > Feb 3, 2009 6:21:26 PM SEVERE: at > org.apache.felix.webconsole.internal.Logger.<init>(Logger.java:35) > Feb 3, 2009 6:21:26 PM SEVERE: at > org.apache.felix.webconsole.internal.servlet.OsgiManager.<init>(OsgiManager.java:170) > Feb 3, 2009 6:21:26 PM SEVERE: at > org.apache.felix.webconsole.internal.OsgiManagerActivator.start(OsgiManagerActivator.java:35) > Feb 3, 2009 6:21:26 PM SEVERE: at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:591) > Feb 3, 2009 6:21:26 PM SEVERE: at > org.apache.felix.framework.Felix._startBundle(Felix.java:1607) > Feb 3, 2009 6:21:26 PM > To work around this, I had to install Apache Felix Log Service > (0.9.0.SNAPSHOT). > > Thanks, > Sahoo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

