• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

oracle. jdbc. driver. OracleDriver problem

 
vandu matcha
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34851
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vandu,
Are you using an IDE or the command line? Is classes12.zip in your classpath?
 
vandu matcha
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic