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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Dynamic datasource lookup using JPA
    via Stack Overflow by user595014
    ,
  • ejb3,weblogic10,mysql
    via by 666705,
  • deployment error in jpa(wl10.3.3)
    via by 716679,
    • java.lang.IllegalArgumentException: No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: [] at weblogic.deployment.ModulePersistenceUnitRegistry.getPersistenceUnit(ModulePersistenceUnitRegistry.java:121) at weblogic.deployment.BasePersistenceContextProxyImpl.<init>(BasePersistenceContextProxyImpl.java:38) at weblogic.deployment.TransactionalEntityManagerProxyImpl.<init>(TransactionalEntityManagerProxyImpl.java:34) at weblogic.deployment.BaseEnvironmentBuilder.createPersistenceContextProxy(BaseEnvironmentBuilder.java:970) at weblogic.deployment.BaseEnvironmentBuilder.addPersistenceContextRefs(BaseEnvironmentBuilder.java:851)
    No Bugmate found.