Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?

Shaik Mujibur Rahman

TOMCAT 4.0.1 on NT4 throws the foll exception when i try to connect to Oracle DB from JSP.

javax.servlet.ServletException : oracle.jdbc.driver.OracleDriver

Root Cause : java.lang.ClassNotFoundException: oracle:jdbc:driver:OracleDriver

But, the Oracle JDBC driver ZIP file (classes111.zip)is avbl in the system classpath.


My problem was solved. I copied the Oracle Driver class file (classes111.zip) in %TOMCAT_HOME%lib directory and renamed it to classess111.jar. It worked.

Now i am able to connect to Oracle DB from TOMCAT 4.01 via Oracle JDBC-Thin Driver.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact