tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Charbonneau <>
Subject Cannot get more than one servlet loaded in my webapp
Date Thu, 30 Nov 2006 21:23:43 GMT
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:



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?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message