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

liferay.com | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and Rafael Fischer Viola . Or join the community to write better ones.
  1. 0
    samebug tip
    Add localDataSource="true" to the realm when using local database.
  2. 0
    samebug tip
    Make sure you use the same name for your database everywhere in context.xml.
  3. 0
    samebug tip
    Try removing the server.xml file and adding it again to the project, and do a Clean Build.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Database Configuration - Wiki | Liferay

    liferay.com | 1 year ago
    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
  6. 0

    RE: Upgrade Liferay 5.2.3 -> 6.0.3 - Forums | Liferay

    liferay.com | 2 years ago
    javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

  1. rafael 1 times, last 1 month ago
  2. treefolk 1 times, last 3 months ago
  3. davidvanlaatum 1 times, last 7 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:140)
    3. org.apache.naming.NamingContext.lookup(NamingContext.java:781)
    3 frames