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

Oracle Community | zambizzi | 10 years ago
  1. 0

    Can't get DataSource via JNDI

    Oracle Community | 10 years 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 | 1 year 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