javax.naming.NameNotFoundException: PWC4216: Name AkshJNDI is not bound in this Context

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by dereck

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

,
via Stack Overflow by john

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

Solutions on the web

via Oracle Community by 807567, 1 year ago
PWC4216: Name AkshJNDI is not bound in this Context
via Stack Overflow by lud0h
, 2 years ago
Name jms is not bound in this Context
via Coderanch by Kelvin Mak, 1 year ago
via nabble.com by Unknown author, 2 years ago
Name > TransactionSynchronizationRegistry is not bound in this Context
via grokbase.com by Unknown author, 1 year ago
Name jdbc is not bound in this Context
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 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 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 com.sun.webserver.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:149)
at com.sun.webserver.connector.nsapi.NSAPIConnector.service(NSAPIConnector.java:995)

Users with the same issue

2 times, 3 months ago
6 times, 7 months ago
Once, 11 months ago
Once, 1 year ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.