H JB, I rebuild karaf-2.3.1-SNAPSHOT using aries.jpa 1.0.0 ( ie with -Daries.jpa.version=1.0.0 -Daries.jpa.container.context.version=1.0.0, see karaf-2.3.1-SNAPSHOT's top level pom for details) and still see the issue. So this probably comes from changes id needed aries.blueprint.core )
-D On Sun, Feb 10, 2013 at 12:06 PM, Jean-Baptiste Onofré <[email protected]> wrote: > It seems that the JPA engine is now "mandatory". Let me take a look in the > Aries JPA changes. > > Regards > JB > > > On 02/10/2013 09:02 PM, Dan Tran wrote: >> >> I wonder if any one who also uses JPA sees the same issue with me at >> karaf 2.3.1-snapshot? >> >> -D >> >> On Fri, Feb 8, 2013 at 9:14 PM, Dan Tran <[email protected]> wrote: >>> >>> I am testing out my app which has a few JPA bundle with karaf >>> 2.3.1-SNAPSHOT >>> >>> during shutdown, karaf throws the following error to stdout >>> >>> >>> ERROR: Bundle org.apache.aries.jpa.container [73] Error stopping >>> bundle. (java.lang.IllegalStateException: No persistence units defined >>> for bundle xxxx.host.mgr/1.0.0.SNAPSHOT.) >>> java.lang.IllegalStateException: No persistence units defined for >>> bundle xxxx.host.mgr/1.0.0.SNAPSHOT. >>> at >>> org.apache.aries.jpa.container.unit.impl.ManagedPersistenceUnitInfoFactoryImpl.destroyPersistenceBundle(ManagedPersistenceUnitInfoFactoryImpl.java:60) >>> at >>> org.apache.aries.jpa.container.impl.PersistenceBundleManager.removedBundle(PersistenceBundleManager.java:313) >>> at >>> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerRemoved(BundleHookBundleTracker.java:513) >>> at >>> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerRemoved(BundleHookBundleTracker.java:433) >>> >>> >>> This may be a regression under new blueprint's core? >>> >>> my OpenJPA with embeded derby runs fine after startup. Only at >>> shutdown it barfs. >>> >>> Thanks >>> >>> -D > > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com
