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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Coderanch by Himai Minh, 10 months ago
javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
via coderanch.com by Unknown author, 6 months ago
javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
via coderanch.com by Unknown author, 1 year ago
javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
via coderanch.com by Unknown author, 1 year ago
javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
via toster.ru by Unknown author, 1 year ago
javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
via Oracle Community by fabiomedeirosf, 1 year ago
javax.naming.NamingException: Lookup failed for 'java:app/jdbc/estudo' in SerialContext [Root exception is javax.naming.NamingException: Invocation exception: Got null ComponentInvocation ]
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.(PersistenceUnitInfoImpl.java:111)
at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:130)
at org.glassfish.persistence.jpa.PersistenceUnitLoader.(PersistenceUnitLoader.java:96)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:296)
at org.jboss.arquillian.container.glassfish.embedded_3.GlassFishEmbeddedContainer.deploy(GlassFishEmbeddedContainer.java:164)
at org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:62)
at org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:50)
at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)
at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:96)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.