Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 85601 invoked from network); 13 Oct 2004 12:22:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Oct 2004 12:22:33 -0000 Received: (qmail 43031 invoked by uid 500); 13 Oct 2004 12:21:39 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 42931 invoked by uid 500); 13 Oct 2004 12:21:38 -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 42898 invoked by uid 99); 13 Oct 2004 12:21:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [195.68.73.139] (HELO mail.sofice.fr) (195.68.73.139) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 13 Oct 2004 05:21:36 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.sofice.fr (Postfix) with ESMTP id 728577BB for ; Wed, 13 Oct 2004 14:21:26 +0200 (CEST) Received: from sofice.fr (unknown [192.168.140.144]) by mail.sofice.fr (Postfix) with ESMTP id 5F8977AA for ; Wed, 13 Oct 2004 14:21:25 +0200 (CEST) Message-ID: <416D1DBF.6090709@sofice.fr> Date: Wed, 13 Oct 2004 14:21:19 +0200 From: =?ISO-8859-1?Q?Fran=E7ois_Richard?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Listeners References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Does your listener class implement the good listener like HttpSessionListener, ServletContextListener or ... Ray Madigan wrote: >The top of my web.xml is as follows. It worked fine until I added the >listener declaration. > >I am using tomcat 4.1.24 > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > > > com.mbresearch.main.util.AccessListener > > > > > >-----Original Message----- >From: Antony Paul [mailto:antonypaul24@gmail.com] >Sent: Wednesday, October 13, 2004 12:58 AM >To: Tomcat Users List >Subject: Re: Listeners > > >What version of Tomcat you are using ?. Also post the web.xml version. >>>From the top. > >rgds >Antony Paul > > >On Wed, 13 Oct 2004 00:46:43 -0700, Ray Madigan wrote: > > >>I have never used Listeners in Tomcat before and and having trouble >> >> >getting > > >>one registered. >> >>I have the listener declared in web.xml before the servlet declaration and >>looks like >> >> >> com.mbresearch.foo.FooListener >> >> >> >>... >> >>com.mbresearch.foo.FooListener is in the WEB-INF/classes directory. >>I get the digester error: >> >>Digester.error : Parse Error at line 9 column 13: Element type "listener" >>must be declared. Line 9 is the line. >> >>What am I missing? Thanks in advance! >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> >> >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org