views:

32

answers:

1

Hi,

i'm trying to follow the instructions in this thread (http://osdir.com/ml/dev-felix-apache/2009-05/msg00051.html) to disable file system bundle cache in felix. I couldn not find a concrete example online.

Can somebody help me with this? Is this really working?

Thanks in advance.

Klaus.

+2  A: 

It is not possible to disable the bundle cache, it is required by the framework. You can configure it to be cleaned each startup (org.osgi.framework.storage.clean) or you can try to use the approach referenced in your URL to create your own bundle cache. Those are your only options, other than hacking on the framework code itself. The bundle cache has changed a little bit since the info referenced by URL was written, so it is not clear if there was an impact on the approach.

Richard S. Hall
That's unfortunate. Is it by any chance possible to provide Felix with my own classloader, say per bundle?Klaus.
Klaus