I can easily imagine you causing yourself problems like this if you delete the bundle cache while the framework is running. Deleting it while the framework is stopped should give you a clean startup but if it’s running very possibly some bundles will save stuff to the cache and others won’t, leaving you with an unworkable startup state. David Jencks
Sent from my iPhone > On Dec 20, 2018, at 12:31 AM, Dheeraj Guntupalli <reindh...@gmail.com> wrote: > > Thanks for the reply Ray. > > In our application we have a monitoring bundle which deletes the bundle cache > as part of self healing in some cases. > > On restarting we might face this issue with JPATemplate, and hence we need a > workaround or solution for it. > > On our dev environment too we are able to see this issue frequently on > deleting Karaf bundle cache > > Thank you, > Dheeraj