From the spec [1]:
The Java Persistence Service specification defines how persistence units can be published in an OSGi framework, how client bundles can
find these persistence units, how database drivers are found with the OSGi JDBC Specification, as
well as how JPA providers can be made available within an OSGi framework.
[1] http://www.osgi.org/download/r5/osgi.enterprise-5.0.0.pdf
http://www.datanucleus.org/servlet/jira/browse/NUCJPA-87 is (as mentioned in the comments) a workaround. This is the resulting standard.
Here is a good explanation: http://wiki.eclipse.org/images/e/ee/OSGi_JPA_Spec_and_Gemini_JPA.pdf