>From memory this has come up before, and it is in the servlet 2.2 spec
that the servlet container will load "all jars" in the lib dirs - hence
excluding zips.  I'm not sure how this affects the system classpath
though...

cheers
dim

On Tue, 17 Jul 2001, Sampige, Srinivas wrote:

> What i told you definitely works at least for the .jar files;from what you say it 
>looks like Tomcat isn't picking up .zip files (i personally haven't tried it with 
>.zip files).I would leave this question to be anwered by one of the Tomcat Dev Team 
>members .But for now what i would try is -
> 
>  - edit the tomcat.bat found in the bin folder of the tomcat installation .Here is 
>what the first  few lines look like(what is in red is what you need to add) :-
> 
> --->
> rem ----- Save Environment Variables That May Change ------------------------
> 
> set _CP=%CP%
> set _TOMCAT_HOME=%TOMCAT_HOME%
> set _CLASSPATH=%CLASSPATH%
> 
> --->
> 
> Modify the last line as -
> set _CLASSPATH=%CLASSPATH%;D:\oracle\ora81\jdbc\lib\classes12.zip
> 
> 
>  Let me know if this helps.
> 
> -Srinivas
> 
> -----Original Message-----
> From: John Hebert [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 3:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Oracle JDBC in CLASSPATH for Tomcat 4.0
> 
> 
> Scott Brinker wrote:
> 
> > Alas, it's still not finding it. I now have the classes12.zip in the
> > following locations:
> >
> >   /jakarta-tomcat-4.0-b5/lib
> >   /jakarta-tomcat-4.0-b5/common/lib
> >   /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib
> >
> > ...(the latter being my web app), in addition to the CLASSPATH environment
> > variable. Any other thoughts?
> >
> 
> 
> Can you confirm it is a valid archive ("jar -t classes12.zip")?
> 
> --
> John Alex Hebert
> [EMAIL PROTECTED]
> System Engineer
> 

Reply via email to