On Tue, 20 Aug 2002, Jean-francois Arcand wrote: > Actually, implementing the xml validation on/off mechanism, admin/ is > _the_ reason why Tomcat is slow at startup. There is a lot of xml files > to parse/validate in that application....so I'm +1 to load on demand and > set validation to false :-)
It's not _the_ reason, just one of the reasons. Try taking off the jmx listeners - you'll see a difference. I'll start commiting ( really soon :-) the common-logging changes, and one thing I added in various places is logging the time it takes to do various operations ( if it's > 200 ms ). I think I get most of the 'suspects' accounted for. I already mentioned that for me the 'minimal' tomcat5 starts in 6 seconds - all the extra stuff can be put in background. Costin > > I know it may involve a lot of work, but It might be nice to have an > option in server.xml that configure the "web-app startup" mode? > > -- Jeanfrancois > > > > >It is far better to have tomcat restart quickly and have minimal > >downtime for the frequently used apps ( where load-on-startup is > >a good choice ), and use delayed for less-frequent or less critical apps. > > > > > > > >Costin > > > > > > > > > >-- > >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>