On 3/4/10 1:14 PM, Norbert Somlai wrote:
Hello,
I'm trying to pick the best OSGi implementation for a big client and giving
each a test run with some simple bundles. I ran into a weird problem with
Felix: even after stopping and uninstalling a bundle (it disappears from the
PS list) and installing another one exporting the same interface, it is
still the old bundle that gets called. Tried it 10 times, there is no
mistake. What can possible cause such a weird behavior? Is this related to
the cache implementation of Felix which I have read many complaints about?
This is normal behavior per the core spec on page 104:
If none of the old exports are used, then the old exports must be
removed. Otherwise, all old exports must remain available for
existing bundles and future resolves until the refreshPackages
method is called or the Framework is restarted.
To completely remove uninstalled (or old versions of updated bundles),
you must refresh the framework.
-> richard
Thanks, Norbert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org