javax.naming.NameNotFoundException: El nombre jdbc no este asociado a este contexto

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 openxava by icarrara
, 1 year ago
Name jdbc is not bound in this Context
via Oracle Community by 843833, 1 year ago
via openxava by eescrihuela
, 1 year ago
El nombre jdbc no este asociado a este contexto
via Server Fault by Ehsan Khodarahmi
, 11 months ago
Name [jdbc/mysql/mydb] is not bound in this Context. Unable to find [jdbc].
via Stack Overflow by Ehsan Khodarahmi
, 2 months ago
Name [jdbc/mysql/my_db] is not bound in this Context. Unable to find [jdbc].
javax.naming.NameNotFoundException: El nombre jdbc no este asociado a este contexto
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:137)
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:730)
at org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:175)
at org.openxava.jpa.XPersistence.createManager(XPersistence.java:102)
at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:1633)
at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:1601)
at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.openxava.util.Objects.execute(Objects.java:193)
at org.openxava.util.Objects.execute(Objects.java:112)
at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:54)
at org.openxava.component.ComponentParser.parse(ComponentParser.java:34)
at org.openxava.component.MetaComponent.get(MetaComponent.java:60)
at org.openxava.tab.Tab.getMetaTab(Tab.java:183)
at org.openxava.tab.Tab.getMetaProperties(Tab.java:84)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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