javax.naming.NameNotFoundException: Name security 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 Google Groups by Rady, 1 year ago
Name security is not bound in this Context
via grokbase.com by Unknown author, 1 year ago
Name jdbc is not bound in this Context
via Oracle Community by 843830, 1 year ago
Name QueueConnectionFactory is not bound in this Context
via Oracle Community by 843793, 1 year ago
WEB3885: Name oracleJNDI is not bound in this Context
via boyunjian.com by Unknown author, 2 years ago
via hivmr.com by Unknown author, 1 year ago
javax.naming.NameNotFoundException: Name security is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at in.raster.ioviyam2.servlets.UserConfiguration.processRequest(UserConfiguration.java:55)
at in.raster.ioviyam2.servlets.UserConfiguration.doGet(UserConfiguration.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
31 more bugmates

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