javax.naming.NamingException: Lookup failed for 'java:app/AppName' in SerialContext[targetHost=null,targetPort=null [Root exception is javax.naming.NamingException: Could not resolve java:app/AppName]

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 Oracle Community by atomicknight, 1 year ago
Lookup failed for 'java:app/AppName' in SerialContext[targetHost=null,targetPort=null [Root exception is javax.naming.NamingException: Could not resolve java:app/AppName] >
via GitHub by baldodavi
, 2 months ago
Lookup failed for 'java:app/jdbc/redevodb' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, org.osjava.jndi.root=classpath://config, osjava.jndi.delimiter=/, java.naming.factory.state
via Oracle Community by vincent_aumont, 1 year ago
Lookup failed for 'java:module/MyEJB!test.MyEJB' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl
via Stack Overflow by g123k
, 1 year ago
Lookup failed for 'jms/ConnectionFactory' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: jms]
via Stack Overflow by Thang Pham
, 2 years ago
#com.bridgeye.ejb.GenericCRUDServiceBean' [Root exception is javax.naming.NamingException: Lookup failed for 'com.bridgeye.ejb.GenericCRUDServiceBean#com.bridgeye.ejb.GenericCRUDServiceBean' in SerialContext[myEnv={java.naming.factory.initial
via Oracle Community by agush, 1 year ago
Lookup failed for 'java:global/classes/GameDAO' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state
javax.naming.NamingException: Lookup failed for 'java:app/AppName' in SerialContext[targetHost=null,targetPort=null [Root exception is javax.naming.NamingException: Could not resolve java:app/AppName]
at com.sun.enterprise.container.common.impl.JavaModuleNamingProxy.getAppName(JavaModuleNamingProxy.java:166)
at com.sun.enterprise.naming.impl.NamedNamingObjectManager.tryNamedProxies(NamedNamingObjectManager.java:88)
at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:171)

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.