javax.naming.NameNotFoundException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.

  • Help:upgrade from sjws6 to sjws7
    via by 807567,
  • Configuring jdbc-pool (tomcat 7)
    via Stack Overflow by john
    ,
    • javax.naming.NameNotFoundException: PWC4216: Name edoc is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:778)

    Users with the same issue

    CasperCasper
    6 times, last one,
    rafaelrafael
    1 times, last one,
    treefolktreefolk
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    davidvanlaatumdavidvanlaatum
    1 times, last one,
    29 more bugmates