2009/12/21 Damian Minkov <[email protected]>

> Hi all,
>
> recently in sip-communicator we removed a bundle from the application,
> respectively removed it from the autostart level from the properties
> file. But recently after removing it we got some errors which lead to
> finding the actual cause : its that the removed bundle stays in the
> felix cache and even it is removed from the autostart levels its
> loaded and used. Is this a known issue and is there a way to avoid
> this ?
>

this is a standard feature of OSGi:

   "The OSGi specification states that the framework must cache bundles and
their run-time state"
   ( from
http://felix.apache.org/site/apache-felix-framework-bundle-cache.html )

so if you want to completely remove a bundle you should tell the framework
to uninstall it (or wipe the cache at startup by setting the framework
property
org.osgi.framework.storage.clean to "onFirstInit")

alternatively you could use something like FileInstall to manage your
bundles:

   http://felix.apache.org/site/apache-felix-file-install.html

HTH

Thanks
> damencho
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

-- 
Cheers, Stuart

Reply via email to