java.lang.IllegalStateException: No persistence units defined for bundle jpa2jms/1.0.0.SNAPSHOT.

aries-dev | Christian Schneider (JIRA) | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [jira] [Created] (ARIES-1155) Error when OSGi container is stopped on aries jpa container No persistence units defined for bundle

    aries-dev | 3 years ago | Christian Schneider (JIRA)
    java.lang.IllegalStateException: No persistence units defined for bundle jpa2jms/1.0.0.SNAPSHOT.
  2. 0

    [jira] [Commented] (ARIES-1155) Error when OSGi container is stopped on aries jpa container No persistence units defined for bundle

    aries-dev | 3 years ago | Christian Schneider (JIRA)
    java.lang.IllegalStateException: No persistence units defined for bundle jpa2jms/1.0.0.SNAPSHOT.
  3. 0

    Karaf - User - Features/bundles for OpenJPA/JTA

    nabble.com | 1 year ago
    java.lang.IllegalStateException: No persistence units defined for bundle osa-dao/1.0.0.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No persistence units defined for bundle jpa2jms/1.0.0.SNAPSHOT.

      at org.apache.aries.jpa.container.unit.impl.ManagedPersistenceUnitInfoFactoryImpl.destroyPersistenceBundle()
    2. org.apache.aries
      PersistenceBundleManager.removedBundle
      1. org.apache.aries.jpa.container.unit.impl.ManagedPersistenceUnitInfoFactoryImpl.destroyPersistenceBundle(ManagedPersistenceUnitInfoFactoryImpl.java:60)
      2. org.apache.aries.jpa.container.impl.PersistenceBundleManager.removedBundle(PersistenceBundleManager.java:313)
      2 frames
    3. Apache Aries Util
      RecursiveBundleTracker.close
      1. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerRemoved(BundleHookBundleTracker.java:513)
      2. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerRemoved(BundleHookBundleTracker.java:433)
      3. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.untrack(BundleHookBundleTracker.java:834)
      4. org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(BundleHookBundleTracker.java:196)
      5. org.apache.aries.util.tracker.RecursiveBundleTracker.close(RecursiveBundleTracker.java:120)
      5 frames
    4. org.apache.aries
      PersistenceBundleManager.stop
      1. org.apache.aries.jpa.container.impl.PersistenceBundleManager.close(PersistenceBundleManager.java:140)
      2. org.apache.aries.jpa.container.impl.PersistenceBundleManager.stop(PersistenceBundleManager.java:643)
      2 frames
    5. Apache Felix Framework
      FrameworkStartLevelImpl.run
      1. org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
      2. org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
      3. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
      4. org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
      4 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame