File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC trouble with Tomcat 5

 
Roy Simon
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using tomcat 5.5.9 and and jdk1.5 when i try to use jdbc to connect to ms access via my servlet i get the following exception.

java.sql.SQLException[Microsoft][Odbc Driver Manager]Data source name not found and no default driver specified

i tested the model seperately and the code worked perfectly fine from the comman prompt!!

Can someone tell me what is that i am missing??

Regards
Simon
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you put the driver?
 
Roy Simon
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didnt put any driver anywhere!! . i know i have to put the driver in the servers lib directory but i am not able to find the driver!! can u please tell me where i can find the driver??

Regards
Simon
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic