javax.naming.NameNotFoundException

Name jdbc is not bound in this Context

Samebug tips3

Add localDataSource="true" to the realm when using local database.

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3393

  • via Coderanch by Manon Baratt, 7 months ago
    Name jdbc is not bound in this Context
  • via Coderanch by Perak Patel, 7 months ago
    Name jdbc is not bound in this Context
  • via Oracle Community by 843793, 1 year ago
    Name jdbc is not bound in this Context
  • Stack trace

    • javax.naming.NameNotFoundException: Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:803) at org.apache.naming.NamingContext.lookup(NamingContext.java:159)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    6 times, 2 months ago
    Once, 6 months ago
    Once, 8 months ago
    Unknown user
    Once, 11 months ago
    Once, 1 year ago
    29 more bugmates