javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

mkyong.com | 5 months ago
  1. 0

    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

    mkyong.com | 5 months ago
    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
  2. 0

    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

    mkyong.com | 5 months ago
    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
  3. 0
    Add localDataSource="true" to the realm when using local database.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Make sure you use the same name for your database everywhere in context.xml.
  6. 0

    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

    Stack Overflow | 6 years ago | Warrior
    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

  1. treefolk 1 times, last 2 months ago
  2. davidvanlaatum 1 times, last 6 months ago
7 unregistered visitors
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

    Name jdbc is not bound in this Context

    at org.apache.naming.NamingContext.lookup()
  2. Web Container Naming Utilities
    NamingContext.lookup
    1. org.apache.naming.NamingContext.lookup(NamingContext.java:770)
    2. org.apache.naming.NamingContext.lookup(NamingContext.java:153)
    2 frames
  3. JSF
    BeanBuilder.injectResources
    1. com.sun.faces.vendor.Tomcat6InjectionProvider.inject(Tomcat6InjectionProvider.java:84)
    2. com.sun.faces.mgbean.BeanBuilder.injectResources(BeanBuilder.java:201)
    2 frames