Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 75996 invoked from network); 30 Nov 2006 22:04:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2006 22:04:28 -0000 Received: (qmail 8311 invoked by uid 500); 30 Nov 2006 22:04:25 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 7883 invoked by uid 500); 30 Nov 2006 22:04:23 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 7872 invoked by uid 99); 30 Nov 2006 22:04:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 14:04:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [132.246.112.6] (HELO neon.sao.nrc.ca) (132.246.112.6) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 14:04:11 -0800 Received: from [132.246.112.10] (arsenic.sao.nrc.ca [132.246.112.10]) by neon.sao.nrc.ca (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id kAUM3kt8009811 for ; Thu, 30 Nov 2006 17:03:50 -0500 Message-ID: <456F5542.60604@nrc-cnrc.gc.ca> Date: Thu, 30 Nov 2006 17:03:46 -0500 From: Andre Charbonneau User-Agent: Thunderbird 1.5.0.8 (X11/20061025) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Cannot get more than one servlet loaded in my webapp References: <456F4BDF.7060609@nrc-cnrc.gc.ca> In-Reply-To: <456F4BDF.7060609@nrc-cnrc.gc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Greetings, It turns out this this was a false alarm. I found that there was an error message in another log file under $CATALINA_HOME which indicated that the error was because my other servlet could not load a java class. This probably explains why it wasn't loading. Cheers, Andre Andre Charbonneau wrote: > Hi, > I'm currently working on a small webapp which initially contained 1 > single servlet. Everything was working fine until I tried to add a > second servlet. For some reason, I can't get that second servlet to > load on startup. > > I added the entry in the web.xml file of my web application as follows: > > > IMSWebServlet > ca.nrc.imsweb.IMSWebServlet > 1 > > > > LocalJobCleanerServlet > ca.nrc.imsweb.LocalJobCleanerServlet > 2 > > > Then I re-build and re-deploy my web application using the ant tools, as > shown below: > > ant all remove install > (no errors or warning in the output of the above command) > > And I also double-checked in my Tomcat container to make sure the java > class file was there and that the web.xml file was successfully updated. > > When I restart my Tomcat container (version 5.5.17), I only see that the > IMSWebServlet gets initialized; the other servlet doesn't seem to start > at all. I also interchanged the order in the web.xml file to see if it > had any effect and still its only the IMSWebServlet that starts. Also, > my catalina.out file does not contain any errors or warning about the > second servlet entry. > > So I'm confused why this is not working. > Its probably right under my nose and I can't see it... :-( > > > Any ideas? > > > Thanks, > Andre > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org