You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Sahoo <sa...@sun.com> on 2009/02/03 17:45:39 UTC

Re: Is OSGi log service a mandatory requirement for Felix web console?

Yes, webconsole fails to start when that error occurs.

Sahoo

Toni Menzel wrote:
> Its org.osgi.service.*;resolution:=optional,* in webconsole. I don't see why
> this is optional while they do not provide it (included) themselves.
> Actually it makes webconsole crash, right, Sahoo ?
>
>
> On Tue, Feb 3, 2009 at 3:19 PM, Toni Menzel <to...@okidokiteam.com> wrote:
>
>   
>> Well, org.osgi.service.log.LogService should be provided by the compendium
>> which you need to have installed.
>> I wonder why webconsole does not require it at resolve time..
>> (import-package)
>>
>>
>> On Tue, Feb 3, 2009 at 3:15 PM, Sahoo <Sa...@sun.com> 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: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>>       
>> --
>> Toni Menzel
>> Software Developer
>> toni@okidokiteam.com
>> http://www.ops4j.org     - New Energy for OSS Communities - Open
>> Participation Software.
>>
>>     
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org