Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 2171 invoked from network); 2 Jun 2004 17:29:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jun 2004 17:29:09 -0000 Received: (qmail 63679 invoked by uid 500); 2 Jun 2004 17:28:51 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 63655 invoked by uid 500); 2 Jun 2004 17:28:51 -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 63641 invoked by uid 99); 2 Jun 2004 17:28:51 -0000 Received: from [63.244.250.133] (HELO warhawk.mpi.com) (63.244.250.133) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 02 Jun 2004 10:28:51 -0700 Received: from thunderbolt.mpi.com (thunderbolt [63.244.253.70]) by warhawk.mpi.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i52HO6eF019023 for ; Wed, 2 Jun 2004 13:24:06 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be2.corp.mpi.com [63.244.252.32]) by thunderbolt.mpi.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i52HS60g013958 for ; Wed, 2 Jun 2004 13:28:24 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Creating Valve Date: Wed, 2 Jun 2004 13:27:43 -0400 Message-ID: <9C5166762F311146951505C6790A9CF80229BA46@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Creating Valve thread-index: AcRIxbmXcIpscrM7RC6umniPOEYBPwAAQb1w From: "Shapira, Yoav" To: "Tomcat Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N H= i, I wouldn't put your own valve in an org.apache package -- you're not a= n Apache developer and you're not creating Apache code ;) But that's no= t that big a deal (until/unless copyright issues arise). I don't know why you're getting the error and I'm not interested in learning NetBeans. Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Moushumi Ghosh [mailto:mghosh@foresightint.com] >Sent: Wednesday, June 02, 2004 1:20 PM >To: Tomcat Users List >Subject: Re: Creating Valve > >Thanks Yoav for the prompt reply. I am using NetBeans IDE and I have the >directory cataina.jar mounted on my classpath. I am using Tomcat 5.0.= 19 > >I created a "org.apache.catalina.valves" package for my use in my >application. I have that package under classes dir under WEB-INF of m= y >application. However when in my class MemoryLogValve, I import >"org.apache.catalina.valves.ValveBase", I get the error cannot resolv= e >symbol . > >Can you give me some pointers as to where I am going wrong? > >Thanks > > >Moushumi Ghosh >Foresight International >711 Rose Road >Lake Zurich, IL 60047 > >(mghosh@foresightint.com) >Ph:847-726-4040 (Ext 257) > >----- Original Message ----- >From: "Shapira, Yoav" >To: "Tomcat Users List" >Sent: Wednesday, June 02, 2004 12:05 PM >Subject: RE: Creating Valve > > >> >> Hi, >> Write the Valve. Put it in whatever package you want. You will ne= ed to >> import at the very least org.apache.catalina.Valve since your class= will >> implement this interface. Put catalina.jar on your compile-time >> classpath, and put the compiled classes for your valve in whatever jar >> you want (let's say myValve.jar for example). Then put myValve.jar= in >> common/lib (rather than WEB-INF/lib) because it must be available t= o the >> catalina classes when starting up and configuring the server. >> >> Yoav Shapira >> Millennium Research Informatics >> >> >> >-----Original Message----- >> >From: Moushumi Ghosh [mailto:mghosh@foresightint.com] >> >Sent: Wednesday, June 02, 2004 12:17 PM >> >To: tomcat-user@jakarta.apache.org >> >Subject: Creating Valve >> > >> >Hi, >> > >> >If I want to create a valve for my application use, how can I compile >> it >> >without creating a separate app out of the catalina.jar where othe= r >> valves >> >are located and add it to my app. >> > >> >Thanks in advance. >> > >> >Moushumi Ghosh >> >Foresight International >> >711 Rose Road >> >Lake Zurich, IL 60047 >> > >> >(mghosh@foresightint.com) >> >Ph:847-726-4040 (Ext 257) >> >> >> >> This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary >and/or privileged. This e-mail is intended only for the individual(s= ) to >whom it is addressed, and may not be saved, copied, printed, disclose= d or >used by anyone else. If you are not the(an) intended recipient, plea= se >immediately delete this e-mail from your computer system and notify t= he >sender. Thank you. >> >> >> -------------------------------------------------------------------= -- >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.or= g >> > > >---------------------------------------------------------------------= >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org