jndi « Connection « Java Database Q&A





1. Centralized DB connection management in Java    stackoverflow.com

For compliance reasons, my organization is looking to take our database connection settings out of properties/XML config files and into a central registry - ideally federated over multiple physical machines, to ...

2. Using JNDI for Database connections    stackoverflow.com

This might sound like a noob question but this is the first time I'm treading into Database territory.
From here I got the info that

The most efficient ...

3. Best way to manage DB connections without JNDI    stackoverflow.com

I have a website, in which currently I am getting 1000 page views. I am expecting it will go around 30k per day in future. Now the problem for me to ...

4. Connection Pooling using JNDI    coderanch.com

Hi All, I am using apache, tomcat 3.2 jConnect 4.2 for my current applications. Currently I am using single connections to the database in my web applications. I want to use connection pooling using JNDI and file server as a service provider and jConnect 5.2. I have few questions (some of them might be quite stupid ) Does Apache support JNDI. ...

6. database connection from JNDI    coderanch.com

7. Zip Exception while connecting thru JNDI    coderanch.com

hello there, While i am trying to connect oracle thru JNDI, i was getting javax.naming.NamingException- unable to create resourse instance. I thought the server may not be able to read the zip file. Hence, I have unzipped classes12.zip and copied OracleDriver.class into my application directory under WEB-INF/lib after converting it as a jar file. But while starting up the server(tomcat4.1), i ...

8. Why JNDI for database connection    coderanch.com

It is the way of obtaining a data source via JNDI. The data source could have been defined in the application server and given a jndi name. This JNDI name could be stored in some configuration file, (could be just a whole bunch of Static final parameters).. and this is being retrieved and used.

9. cannot connect to database using JNDI    coderanch.com

Hi All, This is quite a desperate cry, i've been trying to solve this problem now for over a day and a half, I've seen lots of other threads on google with the same issues and have have tried each solution I found but to no avail. I cannot connect to my database using JNDI., the actual error is "DataSource invalid: ...





11. how can i use jndi to connect to rhe database    coderanch.com

My requirement: I am using JNDI to Connect to the database.For that i am specifying the parameters in context.xml...But i want to choose the password field to be encrypted i.e. password cannot be visible in a cleartext.How can i do that? Otherwise is there any other way to use jndi for hiding the password details.

12. How to use JNDI to get a Pooled Connection    coderanch.com

Hi !! My aim is to get a simple pooled connection for my jdbc application through JNDI, so that in the JDBC source file, I dont have to hardcode anything (like username, password,etc....) I am thinking of setting up the environment for jndi through application resource file (named jndi.properties) so that no parameters are in the source file. But I cant ...

13. Trying to connect to SQL-2005 with JDBC and JNDI    coderanch.com

I finally got the Oracle database connections working with JNDI. I still can not get connected to SQL-2005 with JNDI I have tried sqljdbc4.jar, sqljdbc4-2.0.jar, and jtds.jar but none are able to connect to SQL-2005. Has anyone gotten connected to SQL-2005 using JNDI and Tomcat 6? If so, could you describe: 1. which driver you used (which jar) 2. the driver ...

14. Problems creating a JDBC driver / JNDI connection    coderanch.com

Hi all, I know this same error has come up for a lot of people, but searching through the messages I cannot find a solution to my issue. I am trying to create a persistence layer using Struts2 and MySQL (I am following an example in the book "Struts 2 Design and Programming"). When I start Tomcat (through Eclipse) I get ...

15. database connection through jndi    forums.oracle.com

16. JNDI database connection #2    forums.oracle.com

I learned how to did it using Tomcat in a web application by hand but it seems that there is another way: direct connection to a database with JNDI without a container like Tomcat. In my understanding this should be achieved in a simple class. Anyone has any prior experience working with this, or please point me to a resource please. ...





17. Connect to database using JNDI    forums.oracle.com