Hi,
We are using Karaf on plug computers in the field to collect data. These
plug computers are sometimes hot power cycled due to power outages, etc.
Occasionally, when they are hot power cycled, karaf will not come back up
cleanly. We've tried both Felix and Equinox and had issues with both.
I noticed this from the Karaf docs:
/ Launching Karaf can result in a deadlock in Felix during module
dependency resolution.
This is often a result of sending a SIGINT (control-C) to the process
when it will not cleanly exit.
This can corrupt the caches and cause startup problems in the very next
launch. It is fixed by emptying the component cache:
rm -rf data/cache/*/
Unfortunately cleaning up the component cache effectively un-deploys all the
features and bundles we've installed. In this case we have to get remote
access to the plug computer and completely re-install all our features. This
is a major pain for us and for our customers.
Any suggestions on workaround for this issue that does not involve
re-installing everything?
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-Corrupt-Component-Cache-tp3905992p3905992.html
Sent from the Karaf - User mailing list archive at Nabble.com.