javax.naming.NamingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • 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.naming.impl.SerialContext.lookup(SerialContext.java:442) at javax.naming.InitialContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at com.example.Test.main(Test.java:18) Caused by: 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.container.common.impl.JavaModuleNamingProxy.handle(JavaModuleNamingProxy.java:100) at com.sun.enterprise.naming.impl.NamedNamingObjectManager.tryNamedProxies(NamedNamingObjectManager.java:84) at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:153) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:428)
    No Bugmate found.