jQuery in Action, 3rd edition
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 REST with Spring (video course) this week in the Spring 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. http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
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. http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76999/toc.htm
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 classes.zip 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: http://aspose.com/file-tools
subject: JDBC enabling
It's not a secret anymore!