You might have hit the issue
https://issues.apache.org/jira/browse/ARIES-1160 .
The title is a bit misleading. The issue has two implications:
1. You will not see if initialization of your persistence unit goes wrong
2. The persistence unit will not work until you restart the aries jpa
container bundle.
Please try if the patch or the new snapshot fixes your problem.
You can find an example at:
https://github.com/cschneider/Karaf-Tutorial/tree/master/db/examplejpa
Christian
Am 29.05.2014 20:10, schrieb ellirael:
I'm trying to run my JPA test bundles on Karaf 3.0.1. But it doesn't work.
The problem is my bundle in GracePeriondState and awaiting dependencies
[(&(&(org.apache.aries.jpa.proxy.factory=true).
I've tried both versions of openjpa.
Looking through this mailing list I couldn't finally figure whether
container management JPA is working with Karaf 3.0.1 or not.
Can anybody provide simple working example?
--
View this message in context:
http://karaf.922171.n3.nabble.com/Container-management-JPA-example-tp4033329.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com