Hi Rajini,

Am Donnerstag, den 23.08.2007, 10:35 +0100 schrieb Rajini Sivaram:
> My understanding (I may be totally wrong) was that that during Felix
> shutdown, all the bundles were being stopped causing all the services from
> the bundles to be unregistered. When one of the services got unregistered, a
> component (ComponentA) which had a reference to this service is reactivated
> (Stack trace 1). This causes the ComponentActorThread to call
> deactivateInternal for ComponentA (Stack trace 2) resulting in its services
> being unregistered. Meanwhile the thread doing the shutdown continues to
> stop all bundles including the bundle which contains ComponentA,
> unregistering services from ComponentA in a different thread (Stack trace
> 3).

Hmm, this could be the case, actually. But then I would wonder, why the
stack trace 2 hints at the deactivateInternal method being called from
the deactivate() and not the reactivate() method. Maybe, this is just a
source code location artifact.

If you could retry with the current code, we would see more. But the
explanation seems logical and makes sense.

Thanks for your help.

Regards
Felix

Reply via email to