Hi,

Bertrand Delacretaz schrieb:
> On Wed, Sep 17, 2008 at 10:09 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote:
>> ...If you try to remove the bundle, during the activating of the JCRInstall
>> bundle (or immediately after that), you might in the system startup
>> situation. In this case, I suggest you do the following: Register a
>> FrameworkListener and only consider installation tasks after the
>> FrameworkEvent.STARTED event has been received...
> 
> I'll try that, thanks for the suggestion.
> 
>> ...You can find out, whether the framework is starting up (and a
>> FrameworkListener is needed) by checking the state of the system bundle
>> (bundle 0): The system bundle only changes its state to started if the
>> framework has completed startup....
> 
> Ok, will try (https://issues.apache.org/jira/browse/SLING-660)


Actually it may really be a good idea any way to only start with the
real work after the framework has finished its startup procedure.

Regards
Felix

Reply via email to