Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 3048 invoked from network); 7 Aug 2000 23:30:55 -0000 Received: from gateway.metacomcorp.com (HELO metamail1.metacomcorp.bogus) (207.153.54.194) by locus.apache.org with SMTP; 7 Aug 2000 23:30:55 -0000 Received: by metamail1.metacomcorp.bogus with Internet Mail Service (5.0.1457.3) id <3ZM453KJ>; Mon, 7 Aug 2000 17:31:06 -0600 Message-ID: From: Andrew Jarman To: "'tomcat-user@jakarta.apache.org'" , 'Horst Gaussmann' Subject: RE: Can't find jars in webapps/WEB-INF/lib Date: Mon, 7 Aug 2000 17:31:05 -0600 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I would have tried this, except the jar files don't work properly either. -----Original Message----- From: Schnorr-Gaussmann@t-online.de [mailto:Schnorr-Gaussmann@t-online.de] Sent: Saturday, August 05, 2000 6:42 AM To: tomcat-user@jakarta.apache.org Subject: Re: Can't find jars in webapps/WEB-INF/lib Try to rename the .zip into a .jar file. That should work. Like classes12_01.zip --> classes12_01.jar. bye horst > Same problem here. I use also the same workaround (copying the zip for > Oracle under /tomcat/lib). > My config is: Win 2000 (but also tried under Win NT and Linux); Sun JDK > 1.2.2 with JIT enabled; Tomcat 3.1 ). > - Jakob > Andrew Jarman wrote: >> >> Hi, >> >> This seems like a really stupid question, but I've been fighting it for >> hours: >> >> I have put together a servlet, along with some required jar files into >> the following dir structure: >> >> ROOT/WEB-INF/lib/*.jar >> ROOT/WEB-INF/web.xml >> >> The lib/*.jar includes the servlet classes and some other associated >> classes. This includes the vbjorb.jar and others so my servlet can >> access an oracle database. >> >> When I try to load the servlet this way, by servlet starts initializing >> (so I know that the servlet jar file was found), but the init() function >> fails because it can't load all the necessary classes. >> >> If I copy all of the jar files to the /tomcat/lib directory and restart >> tomcat, everything works fine. >> >> All of the docs seem to indicate that jar files placed in the >> WEB-INF/lib directory would be added to the CLASSPATH for the >> application. >> >> What am I doing wrong? >> >> Assuming somebody helps me figure this out, can I also put .zip files in >> the WEB-INF/lib dir? (for example, classes12.zip for Oracle) >> >> Cheers, >> Andrew