java.lang.RuntimeException: javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]

coderanch.com | 2 months ago
  1. 0

    EJB 3 in Action (2nd edition) Chapter 2 does not run (EJB and other Java EE Technologies forum at Coderanch)

    coderanch.com | 4 months ago
    java.lang.RuntimeException: javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
  2. 0

    EJB 3 in Action (2nd edition) Chapter 2 does not run (EJB and other Java EE Technologies forum at Coderanch)

    coderanch.com | 2 months ago
    java.lang.RuntimeException: javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
  3. 0

    JTA with EJB Lite 3.1 Error

    Oracle Community | 6 years ago | fabiomedeirosf
    java.lang.RuntimeException: javax.naming.NamingException: Lookup failed for 'java:app/jdbc/estudo' in SerialContext [Root exception is javax.naming.NamingException: Invocation exception: Got null ComponentInvocation ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JTA with EJB Lite 3.1 Error

    Oracle Community | 6 years ago | fabiomedeirosf
    java.lang.RuntimeException: javax.naming.NamingException: Lookup failed for 'java:app/jdbc/estudo' in SerialContext [Root exception is javax.naming.NamingException: Invocation exception: Got null ComponentInvocation ]
  6. 0

    [GLASSFISH-6929] Failed to deploy system app ejb-timer-service-app.war - Java.net JIRA

    java.net | 11 months ago
    java.lang.RuntimeException: Could not resolve a persistence unit corresponding to the persistence-context-ref-name in the scope of the module called . Please verify your application. at com.sun.enterprise.deployment.BundleDescriptor.findReferencedPUsViaPCRefs(BundleDescriptor.java:580) at com.sun.enterprise.deployment.EjbBundleDescriptor.findReferencedPUs(EjbBundleDescriptor.java:818)

    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

      javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]

      at org.glassfish.persistence.jpa.PersistenceUnitInfoImpl.<init>()
    2. Embedded GlassFish Web
      JPADeployer.prepare
      1. org.glassfish.persistence.jpa.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:111)
      2. org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:130)
      3. org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:96)
      4. org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:121)
      4 frames
    3. Kernel Classes
      EmbeddedDeployerImpl.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:296)
      3. org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
      3 frames
    4. org.jboss.arquillian
      EventTestRunnerAdaptor.beforeClass
      1. org.jboss.arquillian.container.glassfish.embedded_3.GlassFishEmbeddedContainer.deploy(GlassFishEmbeddedContainer.java:164)
      2. org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:62)
      3. org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:50)
      4. org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
      5. org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)
      6. org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:96)
      6 frames