On 30/10/2012 21:55, Dilshad Shahid wrote:
> I am experiencing a problem with slow start up times for Tomcat 7. I
> have done some testing by tweaking configuration parameters both on
> Linux CentOS kernel version 2.6.18 and on Windows 7 using this link as
> my primary guide: http://wiki.apache.org/tomcat/HowTo/FasterStartUp
> and managed only a modest improvement.
> 
> The improvements seemed to result when I added
> metadata-complete="true" attribute to the element of my
> WEB-INF/web.xml file and when I added the names of almost all the jars
> we use for our application to the
> tomcat.util.scan.DefaultJarScanner.jarsToSkip property in
> conf/catalina.properties file.

Use a servlet 3.0 web.xml, set metadata-complete="true" and include an
empty absolute ordering section and that will disable all of the Servlet
3.0 Jar scanning.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to