javax.naming.NameNotFoundException: No object bound to name java:comp/env/MyDataSource

Oracle Community | zambizzi | 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

    Can't get DataSource via JNDI

    Oracle Community | 1 decade ago | zambizzi
    javax.naming.NameNotFoundException: No object bound to name java:comp/env/MyDataSource
  2. 0

    Connection fail with Hibernate

    Oracle Community | 1 decade ago | 807581
    org.hibernate.HibernateException: Could not find datasource
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [#GLASSFISH-17017] javax.naming.NameNotFoundException: UserManager not found er Glassfiror getting while migrating my ear application from Jboss to Glassfish

    java.net | 2 years ago
    com.gehc.sf.service.ServiceException: javax.naming.NameNotFoundException: No object bound to name java:global/sawfish/sawfishejb/UserManagerHome!com.gehc.sf.user.ejb.UserManagerHome

    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 to name java:comp/env/MyDataSource

      at com.sun.enterprise.naming.NamingManagerImpl.lookup()
    2. Glassfish Naming
      NamingManagerImpl.lookup
      1. com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:751)
      1 frame
    3. com.sun.enterprise
      javaURLContext.lookup
      1. com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:190)
      1 frame
    4. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307)
      1 frame
    5. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:351)
      1 frame