Thanks for the command. That is most helpful.

So on Karaf 4.0.4 if I install jpa, transaction and openjp I get status
"GracePeriod" on transaction bundles and errors on restart
(java.lang.NoClassDefFoundError: javax/transaction/SystemException) from
openjpa bundle. I guess this is what you meant by the current version of
openjpa not working with jta.

On Karaf 3.0.5 I am now using the correct namespace and the error is as it
was in the original post.

[error]
2016-01-27 16:14:26,064 | INFO  | FelixStartLevel  | BlueprintContainerImpl     
     
| 15 - org.apache.aries.blueprint.core - 1.4.4 | Bundle
jpa-only/1.0.0.SNAPSHOT is waiting for dependencies
[(&(&(!(org.apache.aries.jpa.proxy.factory=*))(osgi.unit.name=recipe))(objectClass=javax.persistence.EntityManagerFactory))]
[/error]

I have looked on the Internet and found one of your posts ( here
<https://github.com/cschneider/Karaf-Tutorial/issues/8>  ) were you say that
aries jpa tends to swallow the real error. 

It seems it is useless to continue trying until latest version of OpenJPA
comes out. I have found another post here asking about  OpenJPA 2.4.1
<http://karaf.922171.n3.nabble.com/openjpa-2-4-1-td4045020.html>   so I will
keep an eye on that.




--
View this message in context: 
http://karaf.922171.n3.nabble.com/How-to-solve-bundle-state-GracePeriod-tp4044982p4045041.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to