While this sounds useful for most cases, i don't see much benefit from NOT
requirering an installed compendium in case of a _webconsole_.
Otherwise compendium could be just included and exported to keep things
simple.


On Tue, Feb 3, 2009 at 3:55 PM, Marcel Offermans <
marcel.offerm...@luminis.nl> wrote:

> Sounds like a bug to have it as optional but still require it at runtime
> (if the console actually does not work). The implementation might want to
> use reflection to see if the classes are available at runtime. For an
> example of that, look at the actual framework code that does something
> similar.
>
>
> On Feb 3, 2009, at 15:22 , 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 <t...@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-unsubscr...@felix.apache.org
>>>> For additional commands, e-mail: users-h...@felix.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> Toni Menzel
>>> Software Developer
>>> t...@okidokiteam.com
>>> http://www.ops4j.org     - New Energy for OSS Communities - Open
>>> Participation Software.
>>>
>>>
>>
>>
>> --
>> Toni Menzel
>> Software Developer
>> t...@okidokiteam.com
>> http://www.ops4j.org     - New Energy for OSS Communities - Open
>> Participation Software.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>


-- 
Toni Menzel
Software Developer
t...@okidokiteam.com
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.

Reply via email to