 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
correro Guest
|
Posted: Mon Dec 22, 2003 7:05 am Post subject: Tomcat 5 Database Connection Pool problem |
|
|
Cannot create database connection pool when following Tomcat 5 JNDI Datasource HOW-TO. The exception is
Cannot create JDBC driver of class '' for connect URL 'null'
Seems that the variables for DB driver class and connect URL are not passed to the servlet container. But what I did was follow the instructions strictly in the HOW-TO.
Incidentally, it works fine when I query the same database using a conventional Connected created with DriverManager.
Please tell me how to fix it. I have been stuck with it for two weeks, and am really getting desperate. Thanks!
|
|
| Back to top |
|
 |
David Rabinowitz Guest
|
Posted: Mon Dec 22, 2003 8:48 am Post subject: Re: Tomcat 5 Database Connection Pool problem |
|
|
check your server.xml (or <context>.xml) for the entry. is seems that
you missed some entries. If you can please poublish it here so we can
check it with you.
David
correro wrote:
| Quote: | Cannot create database connection pool when following Tomcat 5 JNDI Datasource HOW-TO. The exception is
Cannot create JDBC driver of class '' for connect URL 'null'
Seems that the variables for DB driver class and connect URL are not passed to the servlet container. But what I did was follow the instructions strictly in the HOW-TO.
Incidentally, it works fine when I query the same database using a conventional Connected created with DriverManager.
Please tell me how to fix it. I have been stuck with it for two weeks, and am really getting desperate. Thanks!
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|