Hi there, I have a servlet in my webapp that I'd like loaded on server startup, after the Tomcat servlets (default, invoker, jsp, cgi-bin, etc.).
Expected behavior: My understanding was that if in my webapp/WEB-INF/web.xml I have something like <servlet> <servlet-name>MyServlet</servlet-name> .... <load-on-startup>1</load-on-startup> </servlet> Then MyServlet will be loaded first in my webapp, AFTER all the tomcat defaults from the $CATALINA_HOME/conf/web.xml file. Observed Behavior: I can't even access localhost:8080 index.html file, or anything else. Tomcat seems to not respond, the startup logs stop in a weird place: the HTTP listener starts, but doesn't start any threads. Removing load-on-startup fixes the problem, and I would guess that changing it to something like 999 would fix it as well. Was my expectation wrong, or is this a bug? Thanks, Yoav Shapira Millennium Pharmaceuticals, Inc.
