javax.naming.NameNotFoundException

WEB3885: 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 web3395

  • via Oracle Community by 698965, 11 months ago
    WEB3885: Name jdbc is not bound in this Context
  • via Oracle Community by 843793, 1 year ago
    WEB3885: Name customresource is not bound in this Context
  • via Oracle Community by 807567, 1 year ago
    WEB3885: Name java:comp is not bound in this Context
  • Stack trace

    • javax.naming.NameNotFoundException: WEB3885: Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811) at org.apache.naming.NamingContext.lookup(NamingContext.java:194) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:183) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:244) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)

    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
    2 times, 10 months ago
    13 times, 10 months ago
    Unknown user
    Once, 11 months ago
    29 more bugmates