This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes JDBC enabling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC enabling" Watch "JDBC enabling" New topic

JDBC enabling

Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
Hi all,
I have Oracle installed in my prompt and my driver exists there. OracleDriver.
Now I have a web application installed in my server and my machine is mapped to the server to I:
We have tomcat installed here.
I tried in working a sample standalone java app from I: It is working.
But my servlet is not seeing the driver installed.
So I guess Tomcat is not seeing my JDBC driver.
Any one please tell me how to configure this on Tomcat ?
Any links also welcome..
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

did you set your classpath to include the new jdbc driver that you have installed?
What is the Exception number/message?
I have found this link to Oracle a very useful one.
At the bottom of the page there is a section on Installation Questions and Error Messages. Also, since your just getting started, this link on error messages might be useful too.
Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
The prob is that Tomcat in our server is not able to recognise my driver in my machine. I put the file in /lib directory of the tomcat.
i added that in tomcat, restarted the server. Still it doesn't work.
I agree. Here's the link:
subject: JDBC enabling
It's not a secret anymore!