AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tomcat 5 Database Connection Pool problem

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
correro
Guest





PostPosted: Mon Dec 22, 2003 7:05 am    Post subject: Tomcat 5 Database Connection Pool problem Reply with 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
David Rabinowitz
Guest





PostPosted: Mon Dec 22, 2003 8:48 am    Post subject: Re: Tomcat 5 Database Connection Pool problem Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.