I've raised a JIRA and committed a fix for that: https://issues.apache.org/jira/browse/FELIX-1737
I've also upgraded Karaf to fileinstall 2.0.1-SNAPSHOT, so could you rebuild both and give it a try ? On Mon, Oct 12, 2009 at 08:56, Guillaume Nodet <gno...@gmail.com> wrote: > Yes, I can reproduce those steps easily. > Will try to investigate too. > > On Sun, Oct 11, 2009 at 16:50, Filippo Diotalevi > <filippo.diotal...@gmail.com> wrote: >> On Fri, Oct 9, 2009 at 10:21 AM, Guillaume Nodet <gno...@gmail.com> wrote: >>> Yeah, it is supposed to work and was indeed working afaik. >>> I fail to see why it would work in fileinstall and not in karaf though ... >>> >> >> I spent a few hours today on this issue without any success (using >> Karaf-1.0.0) >> To me, the bug is easily reproducible: >> 1) copy a jar in the ./deploy folder >> 2) shutdown karaf >> 3) restart it >> 4) remove the jar from the ./deploy folder >> --> the jar is not uninstalled (you can see it still active typing osgi:list >> ) >> >> This behavior is not present in a simple Felix+FileInstall >> >> Additional thing: I do see a log >> "16:36:11,674 | INFO | nerated-bundles} | fileinstall >> | ? ? | Uninstalled >> /opt/osgiruntimes/apache-felix-karaf-1.0.0/deploy/com.springsource.org.apache.commons.collections-3.2.0.jar" >> but the bundle is not uninstalled. >> >> Final touch: if I debug step-by-step, the bundle is uninstalled (seems >> related to timing). >> >> Can anybody verify if the bug can be reproduced in other machines? >> It's so weird... >> >> -- >> Filippo Diotalevi >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com