Hi,

you should first install your JPA engine (hibernate, openjpa), so the hibernate feature first, and after aries jpa.

So you should have your feature describing:

<feature name="my" version="xx">
  <feature>jpa</feature>
  <feature>hibernate</feature>
  <bundle>path to my punit bundle</bundle>
</feature>

It could be part of the featuresBoot (in etc/org.apache.karaf.features.cfg).

No need to use a start-level.

Take a look there:
https://github.com/jbonofre/acna15/blob/master/features/src/main/resources/features.xml

you will have an example.

Regards
JB

On 05/18/2015 05:04 PM, manueld wrote:
Thank you for your answer.

What bundle order do you recommand ?

In the hibernate 4.3.X feature, the default start-level for hibernate-osgi
is 100, so superior to the default start-level (80). Is that normal ?
"hibernate-osgi" shouldn't be started before all the persistence bundles ?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-3-0-3-Hibernate-JPA-JPA-bundles-stay-in-GracePeriod-state-tp4040421p4040441.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to