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 55694 invoked from network); 9 Oct 2000 02:08:46 -0000 Received: from mail4.registeredsite.com (HELO localhost.localdomain) (root@209.35.159.16) by locus.apache.org with SMTP; 9 Oct 2000 02:08:46 -0000 Received: from mail.fitzpatrick.cc ([216.247.102.238]) by localhost.localdomain (8.9.3/8.9.3) with ESMTP id VAA17709 for ; Sun, 8 Oct 2000 21:04:30 -0400 Received: from cartman [24.13.242.72] by mail.fitzpatrick.cc (SMTPD32-6.00) id A8AA108200D8; Sun, 08 Oct 2000 22:08:42 -0400 From: "Paul FitzPatrick" To: Subject: RE: jar's still not picked up in WEB-INF/lib Date: Sun, 8 Oct 2000 22:08:36 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Are you specifying an explicit context, or are you using the auto setup for directories under webapp? I have my stuff in a different directory, so I have a context-path tag in server.xml. I can't think of anything else I have outside of the 'norm.' I don't even know if that has any bearing, but I thought I'd toss it out there . . . Regards, Paul -----Original Message----- From: Barry Dunne [mailto:barrydunne@hotmail.com] Sent: Sunday, October 08, 2000 10:54 PM To: tomcat-user@jakarta.apache.org Subject: RE: jar's still not picked up in WEB-INF/lib Thanks but the same thing happens with classpath=. -----Original Message----- From: Paul FitzPatrick [mailto:cpclvlnk@fitzpatrick.cc] Sent: 09 October 2000 02:32 To: tomcat-user@jakarta.apache.org Subject: RE: jar's still not picked up in WEB-INF/lib It could be because this works for so many people. I t works great for me. I have seen however, that it will not find things right if my classpath is loaded with extra stuff when I launch tomcat. I usually have other copies of the jar files in my system classpath, and if I start tomcat with that classpath I will get class not found errors. This triggers in my mind to stop tomcat, set classpath=. then restart tomcat and all is well. This might work for you too. Regards, Paul -----Original Message----- From: Barry Dunne [mailto:barrydunne@hotmail.com] Sent: Sunday, October 08, 2000 10:21 PM To: tomcat-user@jakarta.apache.org Subject: jar's still not picked up in WEB-INF/lib This problem has been posted so many times for different versions of tomcat but it is still there. To summarise the problem, if you put a jar file into WEB-INF/lib you get a class not found exception when you try to use one of the classes from the jar in a servlet. However, this does not happen when you either move the jar to /usr/local/tomcat/lib or extract the jar into WEB-INF/classes. Neither of these workarounds are very nice, the former makes sharing a server between multiple contexts/developers tricky and the latter makes a mess of the classes directory. There have been so many posts about this feature not working over time and I have had the problem myself on linux with tomcat 3.1, 3.2 and now 4.0m1. This is a pretty fundemental flaw as the lib is a fairly significant part of the specifications to be able to use WEB-INF/lib. Does anybody know why this problem has been left for so long now? Thanks, Barry. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.