Hi, > Now my questions: > - Is it normal that ServiceMix creates those files? > - If yes, what are these files and whet information do they contain? > - Is there a way to prevent ServiceMix from creating them (like a > configuration)?
Cache files contains runtime-related information about the bundle. This is normal that Karaf stores some data in cache. The latter data includes the bundle jar itself - you can easily check it by investigating the cache directory by yourself. Why Karaf caches the bundle jar and other bundle-related data? For the startup speed - otherwise it will be forced to process all the bundles at the container restart. The cache size is usually not an issue since you do not deploy so much bundles as in automated test. Also HDD space is cheap :) . You may be also interested in this [1] piece of documentation. [1] http://fusesource.com/docs/esb/4.4.1/esb_runtime/ESBRuntimePersistConfig.html -- Henryk Konsek http://henryk-konsek.blogspot.com
