I had the same problem and converting the .zip to a .jar worked. I reviewed
the documentation and I could not find any mention of zip files. Does the
absence of info on zip files imply they are not supported?

I think the Tomcat 3.3 and 4.0 documentation should be updated to explicitly
state that zip files and not supported by the servlet spec and therefore
must be converted to jar files and stored in the /lib directory.


> From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Date: Mon, 31 Dec 2001 09:00:31 -0800 (PST)
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: 
> Tomcat4.0:-java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDriver..
> 
> 
> 
> 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]>
> 


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

Reply via email to