javax.naming.NameNotFoundException: WEB3885: Name java:comp is not bound in this Context

Oracle Community | 807567 | 1 decade 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

    Help! JDBC connection pooling lookup in Web server

    Oracle Community | 1 decade ago | 807567
    javax.naming.NameNotFoundException: WEB3885: Name java:comp is not bound in this Context
  6. 0

    javax.naming.NameNotFoundException: Name UserDatabase is not bound in - Java - Tek-Tips

    tek-tips.com | 1 year ago
    javax.naming.NameNotFoundException: Name UserDatabase is not bound in this Context

  1. rafael 1 times, last 2 months ago
  2. treefolk 1 times, last 4 months ago
  3. davidvanlaatum 1 times, last 8 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

    WEB3885: Name java:comp 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:811)
    2. org.apache.naming.NamingContext.lookup(NamingContext.java:194)
    2 frames