| [66] | 1 | <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Architecture - Startup</title><meta value="Yoav Shapira" name="author"><meta value="yoavs@apache.org" name="email"></head><body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff"><table cellspacing="0" width="100%" border="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img border="0" alt=" | 
|---|
|  | 2 | The Apache Tomcat Servlet/JSP Container | 
|---|
|  | 3 | " align="right" src="../../images/tomcat.gif"></a></td><td><font face="arial,helvetica,sanserif"><h1>Apache Tomcat 6.0</h1></font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img border="0" alt="Apache Logo" align="right" src="../../images/asf-logo.gif"></a></td></tr></table><table cellspacing="4" width="100%" border="0"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><tr><!--RIGHT SIDE MAIN BODY--><td align="left" valign="top" width="80%"><table cellspacing="4" width="100%" border="0"><tr><td valign="top" align="left"><h1>Apache Tomcat Architecture</h1><h2>Startup</h2></td><td nowrap="true" valign="top" align="right"><img border="0" hspace="0" vspace="0" height="1" width="1" src="../../images/void.gif"></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Server Startup"><strong>Server Startup</strong></a></font></td></tr><tr><td><blockquote> | 
|---|
|  | 4 |  | 
|---|
|  | 5 | <p> | 
|---|
|  | 6 | This page describes how the Tomcat server starts up.  There are several | 
|---|
|  | 7 | different ways to start tomcat, including: | 
|---|
|  | 8 | <ul> | 
|---|
|  | 9 | <li>From the command line.</li> | 
|---|
|  | 10 | <li>From a Java program as an embedded server.</li> | 
|---|
|  | 11 | <li>Automatically as a Windows service.</li> | 
|---|
|  | 12 | </ul> | 
|---|
|  | 13 | </p> | 
|---|
|  | 14 |  | 
|---|
|  | 15 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="description"><strong>description</strong></a></font></td></tr><tr><td><blockquote> | 
|---|
|  | 16 | <p> | 
|---|
|  | 17 | A text description of the startup procedure is available | 
|---|
|  | 18 | <a href="../startup/serverStartup.txt">here.</a> | 
|---|
|  | 19 | </p> | 
|---|
|  | 20 | </blockquote></td></tr></table> | 
|---|
|  | 21 |  | 
|---|
|  | 22 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="diagram"><strong>diagram</strong></a></font></td></tr><tr><td><blockquote> | 
|---|
|  | 23 | <p> | 
|---|
|  | 24 | A UML sequence diagram of the startup procedure is available | 
|---|
|  | 25 | <a href="../startup/serverStartup.pdf">here.</a> | 
|---|
|  | 26 | </p> | 
|---|
|  | 27 | </blockquote></td></tr></table> | 
|---|
|  | 28 |  | 
|---|
|  | 29 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="comments"><strong>comments</strong></a></font></td></tr><tr><td><blockquote> | 
|---|
|  | 30 | <p> | 
|---|
|  | 31 | The startup process can be customized in many ways, both | 
|---|
|  | 32 | by modifying Tomcat code and by implementing your own | 
|---|
|  | 33 | LifecycleListeners which are then registered in the server.xml | 
|---|
|  | 34 | configuration file. | 
|---|
|  | 35 | </p> | 
|---|
|  | 36 |  | 
|---|
|  | 37 | </blockquote></td></tr></table> | 
|---|
|  | 38 |  | 
|---|
|  | 39 | </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em> | 
|---|
|  | 40 | Copyright © 1999-2008, Apache Software Foundation | 
|---|
|  | 41 | </em></font></div></td></tr></table></body></html> | 
|---|