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><!--LEFT SIDE NAVIGATION--><td nowrap="true" valign="top" width="20%"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="overview.html">Overview</a></li><li><a href="startup.html">Server Startup</a></li><li><a href="requestProcess.html">Request Process</a></li></ul></td><!--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"><small><a href="printer/startup.html"><img alt="Printer Friendly Version" border="0" src="../images/printer.gif"><br>print-friendly<br>version |
---|
4 | </a></small></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> |
---|
5 | |
---|
6 | <p> |
---|
7 | This page describes how the Tomcat server starts up. There are several |
---|
8 | different ways to start tomcat, including: |
---|
9 | <ul> |
---|
10 | <li>From the command line.</li> |
---|
11 | <li>From a Java program as an embedded server.</li> |
---|
12 | <li>Automatically as a Windows service.</li> |
---|
13 | </ul> |
---|
14 | </p> |
---|
15 | |
---|
16 | <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> |
---|
17 | <p> |
---|
18 | A text description of the startup procedure is available |
---|
19 | <a href="startup/serverStartup.txt">here.</a> |
---|
20 | </p> |
---|
21 | </blockquote></td></tr></table> |
---|
22 | |
---|
23 | <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> |
---|
24 | <p> |
---|
25 | A UML sequence diagram of the startup procedure is available |
---|
26 | <a href="startup/serverStartup.pdf">here.</a> |
---|
27 | </p> |
---|
28 | </blockquote></td></tr></table> |
---|
29 | |
---|
30 | <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> |
---|
31 | <p> |
---|
32 | The startup process can be customized in many ways, both |
---|
33 | by modifying Tomcat code and by implementing your own |
---|
34 | LifecycleListeners which are then registered in the server.xml |
---|
35 | configuration file. |
---|
36 | </p> |
---|
37 | |
---|
38 | </blockquote></td></tr></table> |
---|
39 | |
---|
40 | </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> |
---|
41 | Copyright © 1999-2008, Apache Software Foundation |
---|
42 | </em></font></div></td></tr></table></body></html> |
---|