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 Stack Overflow by bobd
, 2 years ago
Name [java:/comp/env/jdbc/MySqlDS] is not bound in this Context. Unable to find [java:].
via openxava by benitojp
, 1 year ago
El nombre jdbc no este asociado a este contexto
via by Unknown author, 2 years ago
via by Unknown author, 2 years ago
via Stack Overflow by Suhail Gupta
, 2 years ago
javax.naming.NameNotFoundException: Name [java:/comp/env/jdbc/MySqlDS] is not bound in this Context. Unable to find [java:].	at org.apache.naming.NamingContext.lookup(	at org.apache.naming.NamingContext.lookup(	at org.apache.naming.SelectorContext.lookup(	at javax.naming.InitialContext.lookup(	at org.hibernate.connection.DatasourceConnectionProvider.configure(	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(	at org.hibernate.cfg.SettingsFactory.buildSettings(	at org.hibernate.cfg.Configuration.buildSettingsInternal(	at org.hibernate.cfg.Configuration.buildSettings(	at org.hibernate.cfg.Configuration.buildSessionFactory(