Server Startup

This page describes how the Tomcat server starts up. There are several different ways to start tomcat, including:

  • From the command line.
  • From a Java program as an embedded server.
  • Automatically as a Windows service.


A text description of the startup procedure is available here.


A UML sequence diagram of the startup procedure is available here.


The startup process can be customized in many ways, both by modifying Tomcat code and by implementing your own LifecycleListeners which are then registered in the server.xml configuration file.


Notice: This comments section collects your suggestions on improving documentation for Apache Tomcat.

If you have trouble and need help, read Find Help page and ask your question on the tomcat-users mailing list. Do not ask such questions here. This is not a Q&A section.

The Apache Comments System is explained here. Comments may be removed by our moderators if they are either implemented or considered invalid/off-topic.