Hello Jack,

It might have been easier if you just committed the src rather than archive
it as a zip :)

A few things I noticed that might be causing you trouble:

  <jpa:enable/>
    <tx:enable/>
        
        <bean id="storeDaoImpl" class="com.data.dao.impl.StoreDaoImpl" >
         <jpa:context property="entityManager" unitname="store"/>
        <tx:transaction method="*" value="Required"/>
        </bean>

If your using JPA 2, I don't think the <jpa:context> <tx:transaction>
sections will work (they didn't for me) and I had to use <jpa:enable/>,
<tx:enable>.

Secondly,

your feature file has jndi, hibernate-orm etc disabled. I think you'll want
to enable those.

Can you start up the application and send the log file over. Even if you
don't see anything obvious, I find it hard to believe there is nothing in
the logs when the bundle is stopped in the GracePeriod state.






--
View this message in context: 
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050634.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to