Hi,

I created a small example with 2 bundles.

When stopping execution using ctrl-c the interrupted exception is
thrown. Somehow the stacktrace isn't show now, but only the warning is given,
and the shutdown stops. Trying to list bundles results in
IllegalStateException. The only way to stop it is by killing the
process.

The code is a simple sender and receiver. The Dependency manager is
used to get a reference to the EventAdmin.


On 7 January 2011 12:47, Carsten Ziegeler <cziege...@apache.org> wrote:
> Alexander Broekhuis  wrote
>>>
>>> From the stacktrace below I have the feeling that the AbcGenerator is
>>> using the EventAdmin although the service is already down. How do you
>>> handle the unregister event of the event admin service?
>>
>> The EventAdmin is tracked using the DependencyManager. If the service
>> is actually down, I would expect a NPE at the point where I use the
>> EventAdmin, not an exception from within the EventAdmin. Or is this a
>> wrong assumption?
>>
> I don't know the DependencyManager :) But maybe you can show the code,
> you use?
>
> Regards
> Carsten
> --
> Carsten Ziegeler
> cziege...@apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>



-- 
Met vriendelijke groet,

Alexander Broekhuis

Attachment: src.tgz
Description: GNU Zip compressed data

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

Reply via email to