On Mon, 31 Dec 2001, Sachin Tyagi wrote:

> Date: Mon, 31 Dec 2001 14:52:15 +0530
> From: Sachin Tyagi <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject:
>     Tomcat4.0:-java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDrive
>     r..
>
> hi all,
> while I am running my web application with Tomcat4.0(Catalina)  in accessing
> database queries.It is showing java.lang.ClassNotFoundException:
> oracle.jdbc.driver.OracleDriver..
> I am using classes12.zip driver ..I have already set classpath for the
> same..And with Tomcat3.2 my application is running well. Only with Tomcat4.0
> getting this problem.I am trying to upgrade for Tomcat4.0.
> In this case any thing I have to edit or set properties in server.xml. or
> some where else. Or this relate with Realms.
> If any one having idea about this plz pass this.
>

You need to do two things:

* Read the class-loader-howto.html documentation, and you'll see that
  Tomcat recognizes only JAR files, not ZIP files.  Rename classes12.zip
  to classes12.jar and it should work.

* Complain to Oracle that they should package their JDBC drivers as
  JAR files.

> Regards
> Sachin
>

Craig McClanahan


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to