java.lang.IllegalArgumentException: No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []

Oracle Community | 666705 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    scope problem with CM persistence unit in a Workshop Utility project

    Oracle Community | 9 years ago | 666705
    java.lang.IllegalArgumentException: No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []
  2. 0

    db:: 3.48::Persistence shared across EJB and WAR projects xd

    hivmr.com | 1 year ago
    java.lang.IllegalArgumentException: No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []
  3. 0

    db:: 3.96::Multiple JPA projects - one persistence.xml - can not be done? 18

    hivmr.com | 10 months ago
    java.lang.IllegalArgumentException: No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Environment Exception:Duplicate Persistence Units And Moduloe Exception

    wpthm.com | 2 years ago
    java.lang.IllegalArgumentException: No persistence unit named 'SamplePersistUnit' is available in scope SampleUI. Available persistence units: []

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []

      at weblogic.deployment.ModulePersistenceUnitRegistry.getPersistenceUnit()
    2. weblogic.deployment
      BaseEnvironmentBuilder.addPersistenceContextRefs
      1. weblogic.deployment.ModulePersistenceUnitRegistry.getPersistenceUnit(ModulePersistenceUnitRegistry.java:121)
      2. weblogic.deployment.BasePersistenceContextProxyImpl.<init>(BasePersistenceContextProxyImpl.java:38)
      3. weblogic.deployment.TransactionalEntityManagerProxyImpl.<init>(TransactionalEntityManagerProxyImpl.java:34)
      4. weblogic.deployment.BaseEnvironmentBuilder.createPersistenceContextProxy(BaseEnvironmentBuilder.java:970)
      5. weblogic.deployment.BaseEnvironmentBuilder.addPersistenceContextRefs(BaseEnvironmentBuilder.java:851)
      5 frames