Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC and JAKARTA TOMCAT 4.01  RSS feed

 
Laurent S
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I've a problem with Jakarta Tomcat 4.01. With that, I can't access to my DB from a jsp page. However that works with Jakarta Tomcat 3.2.1 and from a simple java program.
I work with Windows 2k and I've installed tomcat 4.01 service.
I've reboot several time the service.
thanks for your help.
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you specify the error what you are actually getting..
Pranit..
 
Laurent S
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's in french
RROR : java.sql.SQLException: [Microsoft][Gestionnaire de pilotes ODBC] Source de donn�es non trouv�e et nom de pilote non sp�cifi�
 
Laurent S
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and my simple java program to test the connexion:

and with that it's ok!
[This message has been edited by Laurent S (edited December 06, 2001).]
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pls translate the french in english so that it'll be easy to help u..
Pranit..
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
trouve means found ... so I guess what java is saying is that your driver's not being found. did you know I posted a very similar thread in the JDBC forum today? This is the JSP forum.
Or at least it is at the moment but the way things are going, it may get changed to the JDBC forum by popular demand.
 
Anthony Leroy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This means that the (odbc) data source cannot be found and the driver has not been specified. Check that you have the ODBC data source set up correctly with the correct driver and that you invoke the jdbc-odbc bridge correctly in your java code.
-Ant
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!