tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Update of "HowTo/FasterStartUp" by KonstantinKolinko
Date Mon, 21 Feb 2011 22:34:31 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "HowTo/FasterStartUp" page has been changed by KonstantinKolinko.
The comment on this change is: Remove an advise that is really bad. Add category..
http://wiki.apache.org/tomcat/HowTo/FasterStartUp?action=diff&rev1=12&rev2=13

--------------------------------------------------

  = How do I make Tomcat startup faster? =
  
  == Jars ==
-  1.  If you are loading many web applications which which have the same jars in their WEB-INF/lib
then consider moving the shared jars from WEB-INF/lib into the tomcat shared directory {catalina.home}/shared/lib
-  This will reduce the memory used by each web app, reduce the size of your your war files,
and increase start up time.
-  See http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
- 
-  2.  Remove any jar files you don't need. When searching for classes every JAR file needs
to be examined to find the needed class. Also during webapp startup, jar files are searched
for TLD files. If the jar file is not there - there is nothing to search.
+  1.  Remove any jar files you don't need. When searching for classes every JAR file needs
to be examined to find the needed class. Also during webapp startup, jar files are searched
for TLD files. If the jar file is not there - there is nothing to search.
  
  == Memory ==
   1.  Tweak memory parameters - Google is your friend.
@@ -21, +17 @@

   1.  Make sure your code is not doing slow things. (Use a profiler)
   2.  Remove any webapps you don't need. (So remove the all the webapps installed with tomcat)
   
+ ----
+ [[CategoryFAQ]]
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message