javax.naming.NameNotFoundException

PWC4216: Name AkshJNDI 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 web3340

  • via Oracle Community by 807567, 11 months ago
    PWC4216: Name AkshJNDI is not bound in this Context
  • via hivmr.com by Unknown author, 11 months ago
    PWC4216: Name config-dir is not bound in this Context
  • via Oracle Community by 807567, 11 months ago
    PWC4216: Name edoc is not bound in this Context
  • Stack trace

    • javax.naming.NameNotFoundException: PWC4216: Name AkshJNDI is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:772) at org.apache.naming.NamingContext.lookup(NamingContext.java:142) at org.apache.naming.NamingContext.lookup(NamingContext.java:783) at org.apache.naming.NamingContext.lookup(NamingContext.java:155) at org.apache.jsp.test_005fpool2_jsp._jspService(test_005fpool2_jsp.java:56) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:917) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:345) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:311) at javax.servlet.http.HttpServlet.service(HttpServlet.java:917) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:391) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:272) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:232) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:160) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at com.sun.webserver.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:149) at com.sun.webserver.connector.nsapi.NSAPIConnector.service(NSAPIConnector.java:995)

    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
    Once, 8 months ago
    Unknown user
    Once, 10 months ago
    Once, 1 year ago
    29 more bugmates