Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 34819 invoked from network); 3 Feb 2005 16:28:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Feb 2005 16:28:57 -0000 Received: (qmail 83432 invoked by uid 500); 3 Feb 2005 16:28:39 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 83414 invoked by uid 500); 3 Feb 2005 16:28:39 -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 83401 invoked by uid 99); 3 Feb 2005 16:28:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of asimalp@gmail.com designates 64.233.170.193 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.193) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 03 Feb 2005 08:28:38 -0800 Received: by rproxy.gmail.com with SMTP id z35so269719rne for ; Thu, 03 Feb 2005 08:28:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=aAeSBtPE/QmZkDG68Ik8OeQOlvEL8nqwAB0JKrNjyu4fxeG1QbHrMOrA0Rv82bvG05v8/zQB9jE32br5CWOtCIltGoL9lTx18o7bpEL/9p5XMCQXFul8huOAtXiRyb58w4+ob71vzBjTECf3W//LISSeeNA6Ppi3xyfAIv84bK0= Received: by 10.38.208.9 with SMTP id f9mr211983rng; Thu, 03 Feb 2005 08:28:36 -0800 (PST) Received: by 10.38.97.25 with HTTP; Thu, 3 Feb 2005 08:28:35 -0800 (PST) Message-ID: <672d544005020308284d892200@mail.gmail.com> Date: Thu, 3 Feb 2005 11:28:35 -0500 From: Asim Alp Reply-To: Asim Alp To: Tomcat Users List Subject: Valves Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm using Tomcat 5.5.5 on Windows Server 2003. I have implemented a new valve. I include the following line in my My valve extends org.apache.catalina.valves.ValveBase Everything works fine on my Mac OS X. However, on Windows, when I start Tomcat as a service or from command line, it cannot find my object com.en.stats.StatsValve This is located under $CATALINA_HOME$/shared/classes/com/en/stats/StatsValve.class When I move it to commons, it finds that class; however this time gives an error message saying that it cannot find org.apache.catalina.valves.ValveBase This class comes with Tomcat. It is located in $CATALINA_HOME$/server/lib/catalina.jar How can I solve this problem? And why does it work fine on my Mac OS X? The configuration is exactly the same... Thanks, Asim --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org