File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Connection pool in Tomcat 4.1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connection pool in Tomcat 4.1.3" Watch "Connection pool in Tomcat 4.1.3" New topic

Connection pool in Tomcat 4.1.3

lekha phijo

Joined: Oct 09, 2003
Posts: 29
I have specified the configuration for jdbc in the server.xml
<Resource name="jdbc/mydb" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/mydb">

In my code when I look up for the datasource using JNDI I get the foll error
cannot create PoolableConnectionFactory cause,
A user Id and password are required to establish a JDBC connection
I agree. Here's the link:
subject: Connection pool in Tomcat 4.1.3
It's not a secret anymore!