java.lang.RuntimeException: Could not resolve a persistence unit corresponding to the persistence-context-ref-name [test] in the scope of the module called [lyrix-webapp]. Please verify your application.

Oracle Community | 392 Guest | 6 years ago
  1. 0

    Glassfish & 3.0.1 persistence-context-ref-name

    Oracle Community | 6 years ago | 392 Guest
    java.lang.RuntimeException: Could not resolve a persistence unit corresponding to the persistence-context-ref-name [test] in the scope of the module called [lyrix-webapp]. Please verify your application.
  2. 0

    Glassfish & 3.0.1 persistence-context-ref-name | Java.net

    java.net | 1 year ago
    java.lang.RuntimeException: Could not resolve a persistence unit corresponding to the persistence-context-ref-name [test] in the scope of the module called [lyrix-webapp]. Please verify your application.
  3. 0

    Glassfish Deployment out of Eclipse Helios SR2 fails

    Stack Overflow | 6 years ago | Fabian
    java.lang.RuntimeException: Could not resolve a persistence unit corresponding to the persistence-context-ref-name [com.sun.ejb.containers.TimerBean/em] in the scope of the module called [MyCMS]. Please verify your application.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Erro ao referenciar unidade de persistencia - Java - GUJ

    com.br | 11 months ago
    java.lang.RuntimeException: Could not resolve a persistence unit corresponding to the persistence-context-ref-name [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean/entityManager] in the scope of the module called [viasell]. Please verify your application.
  6. 0

    Error deploing simplified WAR packaged with two ejb-jar modules

    Oracle Community | 5 years ago | aszwaj
    java.lang.RuntimeException: Could not resolve a persistence unit corresponding to the persistence-context-ref-name [ipon] in the scope of the module called [ipon]. Please verify your application.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Could not resolve a persistence unit corresponding to the persistence-context-ref-name [test] in the scope of the module called [lyrix-webapp]. Please verify your application.

      at com.sun.enterprise.deployment.BundleDescriptor.findReferencedPUsViaPCRefs()
    2. Deployment Object Library
      WebBundleDescriptor.findReferencedPUs
      1. com.sun.enterprise.deployment.BundleDescriptor.findReferencedPUsViaPCRefs(BundleDescriptor.java:672)
      2. com.sun.enterprise.deployment.WebBundleDescriptor.findReferencedPUs(WebBundleDescriptor.java:1038)
      2 frames
    3. Embedded GlassFish Web
      JPADeployer.prepare
      1. org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:103)
      1 frame
    4. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:296)
      3. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
      3 frames
    5. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
      1 frame
    6. Kernel Classes
      AdminAdapter.service
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
      7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
      8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
      8 frames
    7. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
      1 frame
    8. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
      2 frames
    9. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
      13 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame