File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 29239
    
139

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: oracle. jdbc. driver. OracleDriver problem
 
Similar Threads
SQL Exception No suitable driver
JDBC help required.
Getting exception in small JDBC Servlet Program.
problem with connecting to oracle through jdbc
connection url