DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14329>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14329 load-on-startup ignored at StandardHost level Summary: load-on-startup ignored at StandardHost level Product: Tomcat 4 Version: 4.0.4 Final Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] OK, well it's not ignored, but *seems* to be applied in the wrong place. My apologies are offered in advance if I have misunderstood the purpose of <load-on-startup>N</load-on-startup>. Please see the attached log file. The two servlets that I am interested in are "tibgateway" and "configlet". "configlet" has a load-on-startup value of 1 and tibgateway has a load-on-startup value of 2; yet configlet gets loaded after tibgateway (sometimes it gets loaded the other way around). I added some trace code to core/StandardContext.java and core/StandardHost.java to produce the log file, and it seems that load-on-startup is taken into account, but only between internal (?) servlets local to each application servlet; so, while loading configlet, the servlets ConfigServlet, DefaultServlet, InvokerServlet and JspServlet are loaded according to load-on-startup. It feels as if StandardHost.install() needs to load all its children, and sort before calling start(), but I'm no expert in this code. -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>