The Tomcat Servlet/JSP Container

Apache Tomcat 4

Apache Logo


Top Level Elements

Current Connectors

Deprecated Connectors


Nested Components

Global Settings

The JK 2 Connector

Printer Friendly Version

IMPORTANT NOTE: The JK 2 connector is now deprecated. Use JK or mod_proxy_ajp instead.

The JK 2 Connector is a web server component used to invisibly integrate Tomcat with a web server such as Apache or IIS. Communication between the web server and Tomcat is via the JK protocol (also known as the AJP protocol).

Tomact is usually integrated with a web server in cases where you want the web server to handle the static content contained in the web application, and/or utilize the web server's SSL processing. In many application environments, this will result in better overall performance than running your applications under Tomcat stand-alone using the Coyote HTTP/1.1 Connector. However, the only way to know for sure whether it will provide better performance for your application is to try it both ways.

Configuration HOWTOs

Please refer to the JK/JK2 documentation for HOWTOs and complete configuration information.

Copyright © 1999-2009, Apache Software Foundation