Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disabling Cache in Apache Felix

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.

like image 821
Klaus Avatar asked Jul 02 '10 12:07

Klaus


1 Answers

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.

like image 150
Richard S. Hall Avatar answered Oct 03 '22 02:10

Richard S. Hall