Sometime bundles are not updated even after multiple build and deployment when using OpenJPA JPA persistence.
Issue
- We are having cache issue by using OpenJPA, that we need to clear bundle cache manually in several bundles directory. Then we've found this parameter in https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.0/html/Configuring_and_Running_Red_Hat_JBoss_Fuse/files/ESBRuntimePersist.html:
org.osgi.framework.storage.clean=onFirstInit
- This seems can clear bundle cache as expected. Now our questions are:
- Is that any side effect by doing so? We have to make sure this is safe for production.
- Seems that parameter will clear cache in all bundles, is it possible to clear only particular bundle cache?
Environment
- Red Hat JBoss Fuse
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.