澳门新葡新京官方网站

Connectors How To

Table of Contents

Introduction

澳门新葡新京官方网站Choosing a connector to use with Tomcat can be difficult. This page will list the connectors which are supported with this Tomcat release, and will hopefully help you make the right choice according to your needs.

HTTP

澳门新葡新京官方网站The HTTP connector is setup by default with Tomcat, and is ready to use. This connector features the lowest latency and best overall performance.

For clustering, an HTTP load balancer with support for web sessions stickiness澳门新葡新京官方网站 must be installed to direct the traffic to the Tomcat servers. Tomcat supports mod_proxy (on Apache HTTP Server 2.x, and included by default in Apache HTTP Server 2.2) as the load balancer. It should be noted that the performance of HTTP proxying is usually lower than the performance of AJP, so AJP clustering is often preferable.

AJP

澳门新葡新京官方网站When using a single server, the performance when using a native webserver in front of the Tomcat instance is most of the time significantly worse than a standalone Tomcat with its default HTTP connector, even if a large part of the web application is made of static files. If integration with the native webserver is needed for any reason, an AJP connector will provide faster performance than proxied HTTP. AJP clustering is the most efficient from the Tomcat perspective. It is otherwise functionally equivalent to HTTP clustering.

The native connectors supported with this Tomcat release are:

  • JK 1.2.x with any of the supported servers
  • mod_proxy on Apache HTTP Server 2.x (included by default in Apache HTTP Server 2.2), with AJP enabled

Other native connectors supporting AJP may work, but are no longer supported.

Comments

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

If you have trouble and need help, read page and ask your question on the tomcat-users . 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.

宝马在线1211com-澳门新葡新京官方网站 宝马在线电子游戏1211-澳门新葡新京官方网站 新奔驰宝马娱乐登陆-澳门新葡新京官方网站 新宝马娱乐21222-澳门新葡新京官方网站 宝马上线娱乐1211con-澳门新葡新京官方网站 千赢qy88vip-澳门新葡新京官方网站 贝斯特全球最奢华平台-澳门新葡新京官方网站 贝斯特全球最奢华游戏平台-澳门新葡新京官方网站 贝斯特最奢华游戏平台-澳门新葡新京官方网站 vip千嬴国际官网登录-澳门新葡新京官方网站