There are variations between versions of Tomcat on how 
things work.  For instance, Tomcat 3.2 recognized things in 
the classpath whereas Tomcat 3.3 doesn't.  3.3 has directories 
in its installation where jars can be added globally.  I don't 
know how 4.x handles it.

To be safe, I think WEB-INF/lib is the recommended and most 
universal place to put jar files for your web application.


Best Regards,

Jason Koeninger
J&J Computer Consulting
http://www.jjcc.com

On Wed, 28 Nov 2001 11:08:35 -0700, Mike Kelley wrote:

>I have a reference in the environment variables (should the name be
>CLASSPATH? Or is it an addition to the Path variable??)
>
>I'm also finding a few references to putting the jar JDBC files in the
>WEB-INF folder or in the lib folder...
>
>Could you help me out with a little more specifics towards the worker,
>wrapper etc ...
>
>-----Original Message-----
>From: Barney Hamish [mailto:[EMAIL PROTECTED]] 
>Sent: Wednesday, November 28, 2001 11:07 AM
>To: 'Tomcat Users List'
>Subject: RE: Where to place JDBC drivers? How?
>
>
>You need to make sure you put a reference to the driver location in your
>class_path variable. Where you need to do this depends on how you're running
>tomcat, modify the environment classpath variable or in the
>worker.properties file, or in the wrapper.properties file etc....
>
>-----Original Message-----
>From: Mike Kelley [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, November 28, 2001 6:53 PM
>To: [EMAIL PROTECTED]
>Subject: Where to place JDBC drivers? How?
>
>
>I found some JDBC drivers for accesing an IBM AS400 
>But I can't get them to work within the browser environment. I placed an
>entry in my system variables 
>Name: CLASSPATH
>Value: loacation of JDBC.jar file;location of JDBC license.jar (in windows
>is CLASSPATH = Path???????)
>
>The Drivers came with a few applets; with the correct information these
>applets will connect to my as400 db but with the same info my jsp pages
>won't connect, I keep getting errors that look like this
>
>A Servlet Exception Has Occurred
>Exception Report:
>javax.servlet.ServletException: hit.as400.As400Driver
>
>Root Cause:
>java.lang.ClassNotFoundException: hit.as400.As400Driver
>
>
>Where should these jar files be placed? Do they need to be within the webapp
>tree? DO I need to reference their location in the server.xml file?? Should
>they be placed within the  JDK tree??? 
>
>Anyone?
>
>--
>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]>
>
>--
>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