javax.naming.NameNotFoundException: No object bound for java:comp/env [Root exception is java.lang.NullPointerException]

Oracle Community | 807581 | 1 decade 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

    App Server 8.1 JDBC Connection problem

    Oracle Community | 1 decade ago | 807581
    javax.naming.NameNotFoundException: No object bound for java:comp/env [Root exception is java.lang.NullPointerException]
  2. 0

    db:: 3.39::Platform edition of javax.jms jz

    hivmr.com | 1 year ago
    javax.naming.NameNotFoundException: No object bound for java:comp/env/jms/ConnectionFactory [Root exception is java.lang.NullPointerException]
  3. 0

    Remote Messaging from J2EE

    Oracle Community | 1 decade ago | 843789
    javax.naming.NameNotFoundException: No object bound for java:comp/env/jms/ConnectionFactory [Root exception is java.lang.NullPointerException]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JMS from J2SE Client

    Oracle Community | 1 decade ago | 843830
    javax.naming.NameNotFoundException: No object bound for java:comp/env/jms/ConnectionFactory [Root exception is java.lang.NullPointerException]
  6. 0

    How to access JDBC Resource registered in Sun Java System App Server ?

    Oracle Community | 7 years ago | 843859
    javax.naming.NameNotFoundException: No object bound for java:comp/env/jdbc/sapdev> [Root exception is java.lang.NullPointerException]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NameNotFoundException

      No object bound for java:comp/env [Root exception is java.lang.NullPointerException]

      at com.sun.enterprise.naming.java.javaURLContext.lookup()
    2. com.sun.enterprise
      javaURLContext.lookup
      1. com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:161)
      1 frame
    3. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
      1 frame
    4. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:351)
      1 frame
    5. com.ns
      DBObject.getInstance
      1. com.ns.DBObject.initDataSource(DBObject.java:222)
      2. com.ns.DBObject.connectPool(DBObject.java:213)
      3. com.ns.DBObject.<init>(DBObject.java:91)
      4. com.ns.DBObject.getInstance(DBObject.java:122)
      4 frames
    6. com.ncharter
      NCContextListener.contextInitialized
      1. com.ncharter.NCContextListener.contextInitialized(NCContextListener.java:28)
      1 frame
    7. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4525)
      2 frames