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.

Differences of connection pool, jdbc and jndi

I need to know if my understanding on the above is correct. In a connection pool you set multiple connections …

java jdbc jndi
can't get DB Connection using JNDI datasource on JBoss

I'm studying how to build java webapps for JBossAS 5.1.0 and I'm trying to build a very basic jsp web app …

java jboss jndi jboss5.x
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

Hi When I try to connect to the datasource using JNDI, I am getting this error: [org.apache.tomcat.dbcp.…

tomcat6 jndi mysql5 apache-roller
Junit Testing JNDI InitialContext outside the application server

Context context = new InitialContext(); dataSource = (DataSource) context.lookup("java:comp/env/jdbc/multiDS"); connection = dataSource.getConnection(); Please help me to …

java junit jndi
Easy way to start a standalone JNDI server (and register some resources)

For testing purposes, I'm looking for a simple way to start a standalone JNDI server, and bind my javax.sql.…

java datasource jndi
How to get resource from the context.xml file in tomcat webapp?

This is my context.xml file: ... <Resource auth="Container" driverClass="net.sourceforge.jtds.jdbc.Driver" type="com.jolbox.bonecp.…

java tomcat web-applications jndi context.xml
java.lang.ClassNotFoundException: org.apache.tomcat.jdbc.pool DataSourceFactory

I'm investigating moving away from an Oracle connection pool and using the Tomcat connection pool. I followed the myriad of …

tomcat datasource tomcat6 jndi connection-pooling
Connection pool or data source? Which should I put in JNDI?

Does it make more sense to have to connection pool at the JNDI level or at the webapp level? For …

java tomcat datasource jndi connection-pooling
Setting up JNDI Datasource with oracle in Tomcat

I can't make it work to get connection from DataSource obtained from JNDI in tomcat 7.0, resulting in error like this: …

oracle tomcat jndi
Why use JNDI for data sources

Can anyone help explain why JNDI should be a preferred way to expose services such as a database / jms? The …

java jndi