Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » NoPersistenceProvider Found if app is Starting Without -clean Parameter
NoPersistenceProvider Found if app is Starting Without -clean Parameter [message #1807007] Tue, 21 May 2019 08:46
Alexander Kerner is currently offline Alexander KernerFriend
Messages: 25
Registered: January 2015
Junior Member
We have an Eclipse RCP app using Eclipselink as a database engine.

Strangely, when starting the app a second time *without* the -clean parameter, we get a NoPersistenceProviderFound Exception.

If I understand correctly, then the -clean parameter will tell OSGi to dismiss it's cache.

We have tried
1) embedding the eclipselink, persistence and derby jars inside our db plugin and also
2) providing them via a target platform as osgi bundles.
The result remains the same.

How could OSGi-caching affect the loading of a persistence provider?

Previous Topic:ObjectBuilder extension
Next Topic:create/extend custom annotation
Goto Forum:
  


Current Time: Thu Apr 25 08:58:19 GMT 2024

Powered by FUDForum. Page generated in 0.03172 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top