javax.naming.NameNotFoundException

tip

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

tip

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

tip

Try removing the server.xml file and adding it again to the project, and do a Clean Build.

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

  • talking to deaf jboss
    via by Matthew Webster,
    • javax.naming.NameNotFoundException: WEB3885: Name java:comp is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811)

    Users with the same issue

    Casper
    6 times, last one,
    rafael
    1 times, last one,
    treefolk
    1 times, last one,
    Unknown visitor1 times, last one,
    davidvanlaatum
    1 times, last one,
    29 more bugmates