It should, but iirc, felix fails fast instead of locking. If you're using Felix, you may want to ask on the felix users list or raise a jira.
On Tuesday, December 28, 2010, Jean-Baptiste Onofré <[email protected]> wrote: > Hi Ben, > > thanks for reporting this behavior. > > Karaf and Felix Framework should lock the bundle during processing it. > AFAIK it's the "standard" behavior. > > Could you provide a test case (with the name of the bundle) to see if the > problem is in Karaf/Felix or more in the bundles itself ? > > Regards > JB > > On 12/27/2010 09:56 PM, bpoday wrote: > > > We are seeing some bizarre behavior when we run multiple osgi:uninstall > commands quickly for dependent bundles (one imports a package the other one > exports, etc). It seems like the container is still trying to process the > uninstall, but accepts other requests. Shouldn't the container block until > its finished processing a request to insure that subsequent requests don't > conflict with one that is still being processed? > > This (sometimes) results in a failed uninstall request. Also, when the > second uninstall is a feature:uninstall, after the failure, karaf lists the > feature as uninstalled but the bundles are still installed. > > Is this a know issue (using Fuse 4.2-01)? We are addressing this by trying > to order uninstall requests appropriately, but the complexity of > dependencies makes this difficult to do... > > > ----- > Ben O'Day > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
