Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 15881 invoked from network); 13 Nov 2004 05:04:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Nov 2004 05:04:49 -0000 Received: (qmail 60225 invoked by uid 500); 13 Nov 2004 05:04:18 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 59950 invoked by uid 500); 13 Nov 2004 05:04:13 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 59932 invoked by uid 99); 13 Nov 2004 05:04:13 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_20_30,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [149.74.4.55] (HELO travis.trilogy.com) (149.74.4.55) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 12 Nov 2004 21:04:11 -0800 To: tomcat-user@jakarta.apache.org Subject: Problem with classpaths MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.9 November 16, 2001 Message-ID: From: Venkatesh.Babu@trilogy.com Date: Sat, 13 Nov 2004 10:33:24 +0530 X-MIMETrack: Serialize by Router on Travis/Trilogy(Release 5.0.12 |February 13, 2003) at 11/12/2004 11:04:02 PM, Serialize complete at 11/12/2004 11:04:02 PM Content-Type: multipart/alternative; boundary="=_alternative 001C1D0265256F4B_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 001C1D0265256F4B_= Content-Type: text/plain; charset="us-ascii" Hi, I'm using tomcat 4.1 for our application, the problem i'm facing is that tomcat is often unable to find the classes present in my application and also certain classes like javax.servlet.HttpServlet, com.objectspace.jgl.Sequence etc... However, I've placed all the classes and jars in the appropriate folders. I've placed all my classes in /webapps/myapp/WEB-INF/classes I've placed all my jars including the jgl3.1.0.jar(that contains com.objectspace.jgl.Sequence) in /webapps/myapp/WEB-INF/lib and all the other commonly used jars including the servlet.jar (contains javax.servlet.HttpServlet) in /common/lib/ If I don't include the servlet.jar in my CLASSPATH, I get a no class def found error for HttpServlet and once I include servlet.jar, I get a noclassdef found error for Sequence. Can anybody please tell me as to how the CLASSPATH works for tomcat and what all should I include in classpath... I would be grateful for the info u provide... This problem is bugging me since the past 2 days :-( -Venkatesh --=_alternative 001C1D0265256F4B_=--