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.

Weblogic javax.naming.NameNotFoundException while running application

I have created a data source name in Weblogic 10.3.6 as jdbc/appsmDS and the same name has been given in …

jdbc weblogic jndi weblogic11g
Spring boot JNDI datasource lookup failure - Name comp/env/jdbc not found in context "java:"

I have setup a spring boot (v 1.1.9) application to deploy as a WAR file. And I'm trying to integrate this …

datasource war jndi spring-boot websphere-8
Setting up JNDI Datasource in jUnit

I am trying to set up some jUnit testing. Our database is connected by the server using JNDI. We have …

java junit jndi
Best practice to get EntityManagerFactory

What is the best approach to get EntityManagerFactory in web app(jsp/servlets)? Is this a good way When should …

java jpa jndi
Initialcontext in a standalone Java program

I'm using a JNDI for creating connection pool. It works great in a web application. I believe the InitialContext is …

java jndi
Why is my JNDI lookup for a QueueConnectionFactory returning null?

I am trying to look up a QueueConnectionFactory and Queue via Geronimo's JNDI. The Queue gets returned fine, but the …

java jakarta-ee jms jndi geronimo
Glassfish v3 / JNDI entry cannot be found problems!

I've been having problems trying to call an EJB's method from a Java Application Client. Here is the code. EJB …

java glassfish ejb-3.0 jndi glassfish-3
how to accept self-signed certificates for JNDI/LDAP connections?

I need to connect to an LDAP directory over SSL. In non-production environments, we use self-signed certificates which, of course, …

java security ssl ldap jndi
How to access JNDI data source defined in weblogic 10.3.6

I have created a JNDI data-source using my weblogic console but I am not able to access the object from …

jakarta-ee weblogic datasource jndi
Cannot create JDBC driver of class '' for connect URL 'null'

I'm using Tomcat 7.0.12 and receiving this error whenever I attmept to access a JNDI datasource connecting to a postgresql db …

java postgresql tomcat jndi