It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes oracle. jdbc. driver. OracleDriver problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "oracle. jdbc. driver. OracleDriver problem" Watch "oracle. jdbc. driver. OracleDriver problem" New topic

oracle. jdbc. driver. OracleDriver problem

vandu matcha
Ranch Hand

Joined: Dec 28, 2005
Posts: 57
hi.....unable to a find a solution for my problem....actually...i am getting this oracle.jdbc.driver.OracleDriver problem when i am using a servlet and java class to connect to jdbc..i am using oracle jdeveloper10g..and server is tomcat 5.5...i found it in the logs...just this statement "oracle.jdbc.driver.OracleDriver"..that all...i have set the class path..also tried ..copying jdbc folder of oracle to webapplication folder ..and in some past posts i have seen some one suggesting to copy classes12.jar to java_home \jre\lib\ext folder..i tried that as use...anyone on the top ..please help me...struggling with is issue ...please help
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33106

Are you using an IDE or the command line? Is in your classpath?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
vandu matcha
Ranch Hand

Joined: Dec 28, 2005
Posts: 57
yes i have classes12.jar in my class path.....i got it when i placed this classes12.jar in the lib folder of my it is the begining i have placed whole jdbc folder in the lib but it didnot work a last chance i tried this classes12.jarin the lib folder it is working......thanks for ur timely response Jeanne...
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

I'd just like to recommend that you get the updated JDBC DRiver from Oracle if you're using 10g. classes12.jar is OK, but it is very old - it was initially designed for Java 1.2 after all
I agree. Here's the link:
subject: oracle. jdbc. driver. OracleDriver problem
It's not a secret anymore!