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 dolinked.com by Unknown author, 2 years ago
via codedmi.com 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(NamingContext.java:820)	at org.apache.naming.NamingContext.lookup(NamingContext.java:168)	at org.apache.naming.SelectorContext.lookup(SelectorContext.java:158)	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:143)	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)	at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)