javax.naming.NamingException: Lookup failed for 'java:app/AppName' in SerialContext [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 [Root exception is javax.naming.NamingException: Could not resolve java:app/AppName]
via Oracle Community by 392 Guest, 1 year ago
Lookup failed for 'java:comp/BeanManager' in SerialContext [Root exception is javax.naming.NamingException: Error retrieving java:comp/BeanManager [Root exception is java.lang.IllegalStateException: Cannot resolve bean manager]]
via Oracle Community by janhelwich, 1 year ago
Lookup failed for 'java:comp/env/mail/eoc' in SerialContext [Root exception is javax.naming.NameNotFoundException: No object bound to name java:comp/env/mail/eoc]
via com.br by Unknown author, 2 years ago
=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory
via coderanch.com by Unknown author, 1 year ago
Unable to acquir e SerialContextProvider for SerialContext [Root exception is java.lang.NullPoin terException]]
via coderanch.com by Unknown author, 2 years ago
Lookup failed for 'RemoteStateless' in SerialContext ,orb'sInitialHost=localhost,orb'sInitialPort=3700 [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext ,orb'sInitialHost=localhost,orb'sInitialPort=3700 [Root exception is java.lang.ClassCastException]]
javax.naming.NamingException: Lookup failed for 'java:app/AppName' in SerialContext [Root exception is javax.naming.NamingException: Could not resolve java:app/AppName]
at com.sun.enterprise.container.common.impl.JavaModuleNamingProxy.getAppName(JavaModuleNamingProxy.java:148)
at com.sun.enterprise.naming.impl.NamedNamingObjectManager.tryNamedProxies(NamedNamingObjectManager.java:84)
at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:153)

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.