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

  1. ,
    via Stack Overflow by dereck

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

  2. ,
    via Stack Overflow by john

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

Solutions on the web

via nabble.com by Unknown author, 1 year ago
Name jdbc is not bound in this Context
via openxava by icarrara
, 2 years ago
Name jdbc is not bound in this Context
via grokbase.com by Unknown author, 1 year ago
Name jdbc is not bound in this Context
via boyunjian.com by Unknown author, 2 years ago
via Stack Overflow by Ehsan Khodarahmi
, 7 months ago
Name [jdbc/mysql/my_db] is not bound in this Context. Unable to find [jdbc].
via Server Fault by Ehsan Khodarahmi
, 1 year ago
Name [jdbc/mysql/mydb] is not bound in this Context. Unable to find [jdbc].
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context	at org.apache.naming.NamingContext.lookup(NamingContext.java:769)	at org.apache.naming.NamingContext.lookup(NamingContext.java:139)	at org.apache.naming.NamingContext.lookup(NamingContext.java:780)	at org.apache.naming.NamingContext.lookup(NamingContext.java:139)	at org.apache.naming.NamingContext.lookup(NamingContext.java:780)	at org.apache.naming.NamingContext.lookup(NamingContext.java:152)	at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)	at javax.naming.InitialContext.lookup(InitialContext.java:351)	at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:397)	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216)	at tomcatJndi.HibernateUtil.(HibernateUtil.java:27)	at action.SearchPropertyAction.execute(SearchPropertyAction.java:35)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)	at java.lang.Thread.run(Thread.java:595)