• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat problem : Cannot create JDBC driver of class '' for connect URL 'null'

 
Antonio Smoljo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' - This is very very frustrating

The Internet is full of a variety of instructions for configuring Tomcat database connection. I read a huge number of them. Also all of these instructions is different in some part. Some people solve the problem, but many do not.
Is there somewhere official and accurate step by step, detail by detail instruction (document).... how accurately and precisely configure Tomcat connection to the database ?
 
Sumit Patil
Ranch Hand
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat official page here

Also see this
 
Scott Selikoff
author
Saloon Keeper
Posts: 4031
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about posting the code you are using? Also, are you sure you the driver is available in your class path?
 
Antonio Smoljo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Txh guys,

I solve the problem. I have Windows7 64bit. The only changes I made ​​was 64bit Tomcat switch with 32 bit ,and 64bit java switch for 32 bit .

This is what I'm talking about. A lot of places where you can go wrong, and a huge number of instructions to configure (on the Apache website that is not so clearly). And I accidentally solved the problem. I have not found any information or rules about the 64-bit, 32 bit for Tomcat, Java, OS, DB ...
Unfortunately for this method I've spent so much time.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4031
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to understand the differences between 32 and 64 bit development before just arbitrarily picking one. There are many websites devoted to discussions about 64 bit development and Java.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic