Top "Jndi" questions

The Java Naming and Directory Interface (JNDI) is a Java API for a directory service that allows Java software clients to discover and look up data and objects via a name.

How to use JNDI DataSource provided by Tomcat in Spring?

It is said that in the Spring javadoc article about DriverManagerDataSource class, that this class is very simple and that …

java spring tomcat datasource jndi
What is JNDI? What is its basic use? When is it used?

What is JNDI? What is its basic use? When is it used?

jndi
The meaning of NoInitialContextException error

I am writing a client for my EJB and when trying to execute it, I get the following exception : javax.…

java jakarta-ee jndi
Cannot create JDBC driver of class ' ' for connect URL 'null' : I do not understand this exception

Why does it say null URL and gives a empty ' ' class in the exception when I have provided …

java jakarta-ee tomcat jndi derby
Name [jdbc/mydb] is not bound in this Context

I see this question was raised several times already and I went through all of them. But I am still …

jakarta-ee tomcat7 jndi derby
How do a LDAP search/authenticate against this LDAP in Java

I am playing with LDAP and Java search. Here's my LDIF export with a simple organization version: 1 dn: dc=example,…

java ldap jndi
javax.naming.NameNotFoundException

I am running an example of ejb using JBoss5 Container. I am using an example from here(Part one). In …

java jboss jakarta-ee ejb-3.0 jndi
What does java:comp/env/ do?

I just spent too much time of my day trying to figure out some errors when hooking up some JNDI …

spring jdbc jndi factory
Configure hibernate to connect to database via JNDI Datasource

Hi all I'm using Hibernate+Struts2+Tomcat6+Mysql as my J2EE framework. I've been using hibernate's built-in connection pooling …

java hibernate jndi connection-pooling
How to create JNDI context in Spring Boot with Embedded Tomcat Container

import org.apache.catalina.Context; import org.apache.catalina.deploy.ContextResource; import org.apache.catalina.startup.Tomcat; import org.springframework.…

jndi spring-boot embedded-tomcat-7