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 tomcat-users by arturoguedez, 2 years ago
Name jdbc is not bound in this Context
via Stack Overflow by bobd
, 2 years ago
Name [java:/comp/env/jdbc/MySqlDS] is not bound in this Context. Unable to find [java:].
via Stack Overflow by Suhail Gupta
, 2 years ago
via spring.io by Unknown author, 1 year ago
via Coderanch by Shishir malviya, 1 year ago
Name sewaDS is not bound in this Context
via Coderanch by Shishir malviya, 1 year ago
Name sewaDS is not bound in this Context
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context	at org.apache.naming.NamingContext.lookup(NamingContext.java:770)	at org.apache.naming.NamingContext.lookup(NamingContext.java:153)	at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)	at javax.naming.InitialContext.lookup(InitialContext.java:392)	at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)	at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)	at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)