This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JDBC 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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "oracle. jdbc. driver. OracleDriver problem" Watch "oracle. jdbc. driver. OracleDriver problem" New topic
Author

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 well..no use...anyone on the top ..please help me...struggling with is issue ...please help
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30404
    
150

Vandu,
Are you using an IDE or the command line? Is classes12.zip in your classpath?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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 webapplication.....now it is working..in the begining i have placed whole jdbc folder in the lib but it didnot work out...as a last chance i tried this classes12.jarin the lib folder ..now it is working......thanks for ur timely response Jeanne...
David O'Meara
Rancher

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: oracle. jdbc. driver. OracleDriver problem