This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

JDBC and JAKARTA TOMCAT 4.01  RSS feed

 
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.
 
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..
 
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.
 
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!