aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Created] (ARIES-1155) Error when OSGi container is stopped on aries jpa container No persistence units defined for bundle
Date Fri, 31 Jan 2014 08:42:09 GMT
Christian Schneider created ARIES-1155:

             Summary: Error when OSGi container is stopped on aries jpa container No persistence
units defined for bundle 
                 Key: ARIES-1155
             Project: Aries
          Issue Type: Bug
          Components: JPA
         Environment: Ubuntu Linux, Java 7, Karaf 3.0.1-SNAPSHOT

I tried to find the aries jpa versions for Affects Version but could not find any.
            Reporter: Christian Schneider

I run my cameljpa jpa2jms example on karaf 3.0.1-SNAPSHOT (The snapshot version is necessary
as karaf had some issues with openjpa).

See the readme in:

The example works fine but when I stop the OSGi container I get the error below:

ERROR: Bundle org.apache.aries.jpa.container [160] Error stopping mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/1.0.0
(org.osgi.framework.BundleException: Activator stop error in bundle org.apache.aries.jpa.container
java.lang.IllegalStateException: No persistence units defined for bundle jpa2jms/1.0.0.SNAPSHOT.
	at org.apache.aries.jpa.container.unit.impl.ManagedPersistenceUnitInfoFactoryImpl.destroyPersistenceBundle(
	at org.apache.aries.jpa.container.impl.PersistenceBundleManager.removedBundle(
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerRemoved(
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerRemoved(
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.untrack(
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(
	at org.apache.aries.util.tracker.RecursiveBundleTracker.close(
	at org.apache.aries.jpa.container.impl.PersistenceBundleManager.close(
	at org.apache.aries.jpa.container.impl.PersistenceBundleManager.stop(
	at org.apache.felix.framework.util.SecureAction.stopActivator(
	at org.apache.felix.framework.Felix.stopBundle(
	at org.apache.felix.framework.Felix.setActiveStartLevel(

This message was sent by Atlassian JIRA

View raw message