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[targetHost=null,targetPort=null [Root exception is javax.naming.NamingException: Could not resolve java:app/AppName] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:561) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491) 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:166) at com.sun.enterprise.container.common.impl.JavaModuleNamingProxy.handle(JavaModuleNamingProxy.java:118) at com.sun.enterprise.naming.impl.NamedNamingObjectManager.tryNamedProxies(NamedNamingObjectManager.java:88) at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:171) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:538)
    No Bugmate found.