You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

How do I make Tomcat startup faster?

These are placeholders until more detail is entered ...

  • Get a faster computer (ha ha ha)
  • Make sure your code is not doing slow things. (Use a profiler) 
  • 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.
  • Remove any webapps you don't need. (So remove the all the webapps installed with tomcat)
  • Tweak memory parameters - Google is your friend.
  • Trim the config files as much as possible. XML parsing is not cheap. The less there is to parse - the faster things will go.
  • No labels