source: nutchez-0.1/tomcat/webapps/docs/printer/connectors.html @ 171

Last change on this file since 171 was 66, checked in by waue, 16 years ago

NutchEz - an easy way to nutch

File size: 3.9 KB
Line 
1<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 - Connectors How To</title><meta value="Remy Maucherat" name="author"><meta value="remm@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 6.0</h1><h2>Connectors How To</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>Choosing a connector to use with Tomcat can be difficult. This page will
6list the connectors which are supported with this Tomcat release, and will
7hopefully help you make the right choice according to your needs.</p>
8
9</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="HTTP"><strong>HTTP</strong></a></font></td></tr><tr><td><blockquote>
10
11<p>The HTTP connector is setup by default with Tomcat, and is ready to use. This
12connector features the lowest latency and best overall performance.</p>
13
14<p>For clustering, a HTTP load balancer <b>with support for web sessions stickiness</b>
15must be installed to direct the traffic to the Tomcat servers. Tomcat supports mod_proxy
16(on Apache HTTP Server 2.x, and included by default in Apache HTTP Server 2.2) as the load balancer.
17It should be noted that the performance of HTTP proxying is usually lower than the
18performance of AJP, so AJP clustering is often preferable.</p>
19
20</blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="AJP"><strong>AJP</strong></a></font></td></tr><tr><td><blockquote>
21
22<p>When using a single server, the performance when using a native webserver in
23front of the Tomcat instance is most of the time significantly worse than a
24standalone Tomcat with its default HTTP connector, even if a large part of the web
25application is made of static files. If integration with the native webserver is
26needed for any reason, an AJP connector will provide faster performance than
27proxied HTTP. AJP clustering is the most efficient from the Tomcat perspective.
28It is otherwise functionally equivalent to HTTP clustering.</p>
29
30<p>The native connectors supported with this Tomcat release are:
31<ul>
32<li>JK 1.2.x with any of the supported servers</li>
33<li>mod_proxy on Apache HTTP Server 2.x (included by default in Apache HTTP Server 2.2),
34with AJP enabled</li>
35</ul>
36</p>
37
38<p><b>Other native connectors supporting AJP may work, but are no longer supported.</b></p>
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 &copy; 1999-2008, Apache Software Foundation
42        </em></font></div></td></tr></table></body></html>
Note: See TracBrowser for help on using the repository browser.