1 | <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference - The Server Component</title><meta value="Craig R. McClanahan" name="author"><meta value="craigmcc@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 Configuration Reference</h1><h2>The Server Component</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="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote> |
---|
4 | |
---|
5 | <p>A <strong>Server</strong> element represents the entire Catalina |
---|
6 | servlet container. Therefore, it must be the single outermost element |
---|
7 | in the <code>conf/server.xml</code> configuration file. Its attributes |
---|
8 | represent the characteristics of the servlet container as a whole.</p> |
---|
9 | |
---|
10 | </blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote> |
---|
11 | |
---|
12 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Common Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote> |
---|
13 | |
---|
14 | <p>All implementations of <strong>Server</strong> |
---|
15 | support the following attributes:</p> |
---|
16 | |
---|
17 | <table cellpadding="5" border="1"><tr><th bgcolor="#023264" width="15%"><font color="#ffffff">Attribute</font></th><th bgcolor="#023264" width="85%"><font color="#ffffff">Description</font></th></tr><tr><td valign="center" align="left"><code>className</code></td><td valign="center" align="left"> |
---|
18 | <p>Java class name of the implementation to use. This class must |
---|
19 | implement the <code>org.apache.catalina.Server</code> interface. |
---|
20 | If no class name is specified, the standard implementation will |
---|
21 | be used.</p> |
---|
22 | </td></tr><tr><td valign="center" align="left"><strong><code>port</code></strong></td><td valign="center" align="left"> |
---|
23 | <p>The TCP/IP port number on which this server waits for a shutdown |
---|
24 | command. This connection must be initiated from the same server |
---|
25 | computer that is running this instance of Tomcat.</p> |
---|
26 | </td></tr><tr><td valign="center" align="left"><strong><code>shutdown</code></strong></td><td valign="center" align="left"> |
---|
27 | <p>The command string that must be received via a TCP/IP connection |
---|
28 | to the specified port number, in order to shut down Tomcat.</p> |
---|
29 | </td></tr></table> |
---|
30 | |
---|
31 | </blockquote></td></tr></table> |
---|
32 | |
---|
33 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Standard Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote> |
---|
34 | |
---|
35 | <p>The standard implementation of <strong>Server</strong> is |
---|
36 | <strong>org.apache.catalina.core.StandardServer</strong>. |
---|
37 | It supports the following additional attributes (in addition to the |
---|
38 | common attributes listed above):</p> |
---|
39 | |
---|
40 | <table cellpadding="5" border="1"><tr><th bgcolor="#023264" width="15%"><font color="#ffffff">Attribute</font></th><th bgcolor="#023264" width="85%"><font color="#ffffff">Description</font></th></tr></table> |
---|
41 | |
---|
42 | </blockquote></td></tr></table> |
---|
43 | |
---|
44 | </blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Nested Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote> |
---|
45 | |
---|
46 | <p>The following components may be nested inside a <strong>Server</strong> |
---|
47 | element:</p> |
---|
48 | <ul> |
---|
49 | <li><a href="service.html"><strong>Service</strong></a> - |
---|
50 | One or more service element.</li> |
---|
51 | <li><a href="globalresources.html"><strong>GlobalNamingResources</strong></a> - |
---|
52 | Configure the JNDI global resources for the server.</li> |
---|
53 | </ul> |
---|
54 | |
---|
55 | </blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Special Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote> |
---|
56 | |
---|
57 | <p>There are no special features associated with a <strong>Server</strong>. |
---|
58 | </p> |
---|
59 | |
---|
60 | </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> |
---|
61 | Copyright © 1999-2008, Apache Software Foundation |
---|
62 | </em></font></div></td></tr></table></body></html> |
---|