javax.naming.NamingException

Lookup failed for 'java:app/AppName' in SerialContext [Root exception is javax.naming.NamingException: Could not resolve java:app/AppName] >

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1703

  • via Oracle Community by atomicknight, 11 months ago
    Lookup failed for 'java:app/AppName' in SerialContext [Root exception is javax.naming.NamingException: Could not resolve java:app/AppName]
  • Lookup failed for 'java:app/Quizzer' 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
  • Lookup failed for 'java:app/jdbc/sampleresource' in SerialContext[myEnv={com.sun.enterprise.connectors.jndisuffix=__nontx, java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    2 times, 9 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago