Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Java Interview Guide this week in the Jobs Discussion 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
jQuery in Action, 3rd edition