javax.naming.NamingException: Could not resolve java:app/AppName >

Oracle Community | atomicknight | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JNDI lookup of application name from embeddable Glassfish

    Oracle Community | 6 years ago | atomicknight
    javax.naming.NamingException: Could not resolve java:app/AppName >

    Root Cause Analysis

    1. javax.naming.NamingException

      Could not resolve java:app/AppName >

      at com.sun.enterprise.container.common.impl.JavaModuleNamingProxy.getAppName()
    2. Container Common
      JavaModuleNamingProxy.handle
      1. com.sun.enterprise.container.common.impl.JavaModuleNamingProxy.getAppName(JavaModuleNamingProxy.java:148)
      2. com.sun.enterprise.container.common.impl.JavaModuleNamingProxy.handle(JavaModuleNamingProxy.java:100)
      2 frames
    3. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.impl.NamedNamingObjectManager.tryNamedProxies(NamedNamingObjectManager.java:84)
      2. com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:153)
      3. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:428)
      3 frames