wood burning stoves 2.0*
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC enabling" Watch "JDBC enabling" New topic
Author

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..
Thanks,
Maya
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
Jamie
Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
Jamie,
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.
Thanks,
maya
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBC enabling
 
Similar Threads
URGENT HELP NEEDED
Can I use a JDBC driver installed on another PC ?
JDBC error with Tomcat startup (upgraded to jdk 5)
Two Tomcat 5 servers, servlet works in one but not the other
jdbc driver error v9.1.3