I seem to have gotten a bit stuck while developing an OSGI bundle with ObjectDB.
Essentially it builds an OSGI bundle with an embedded instance of ObjectDB and then tries to deploy the bundle inside an application running an embedded OSGI server (Apache Felix). The STARTING phase seems to fail due to the below error.
Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named $objectdb/myDB.odb at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:84)
Attached is a sample application demonstrating this. (including the ant build script)
Any help would be much appreciated ;-)