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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Can't get DataSource via JNDI
    via by zambizzi,
  • Connection fail with Hibernate
    via by 807581,
  • Netbeans - J2EE - netbeans EJB 3.0 Tutorial
    via by Unknown author,
  • Problem calling a session bean (EJB 3.0)
    via by Unknown author,
  • Java How To ...: 06/2006
    via by Unknown author,
  • JNDI problems
    via by 843793,
    • javax.naming.NameNotFoundException: No object bound to name java:comp/env/MyDataSource at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:751) at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:190) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307) at javax.naming.InitialContext.lookup(InitialContext.java:351)
    No Bugmate found.