tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakub 1983 <>
Subject connectors - what are JK, AJP, APR
Date Tue, 09 Apr 2013 15:03:32 GMT
) states:

The *AJP Connector* element represents a *Connector* component that
communicates with a web connector via the AJP protocol. This is used for
cases where you wish to invisibly integrate Tomcat into an existing (or
new) Apache installation, and you want Apache to handle the static content
contained in the web application, and/or utilize Apache's SSL processing.

This connector supports load balancing when used in conjunction with the
jvmRoute attribute of the

The *native connectors* supported with this Tomcat release are:

   - JK 1.2.x with any of the supported servers. See the JK
docs<>for details.
   - mod_proxy on Apache httpd 2.x (included by default in Apache HTTP
   Server 2.2), with AJP enabled: see the httpd

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

1) what does it mean in some other words ??
2) what does "native conntectors" mean here ?
3) what is JK ? and what is mod_proxy ? are both of them some alternative
implementations of ajp ? who uses them, tomcat or apache http*d* web server

4) pieces of server.xml
    <!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking &
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL HTTP/1.1 Connector on port 8080
    <Connector port="8080" protocol="*HTTP*/1.1"
               redirectPort="443" />

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009" protocol="*AJP/1.3*" redirectPort="8443" />

5) how should I define JK connector ?
6) what JK has to do with AJP ?
7) which terms concern tomcat and which apache httpd server ?

8) where is *APR* in above context ?
9) how do I define APR connector (is it possible)?



For AJP configuration, see the
configuration documentation.

it redirects to states
nothing about apr,
so what is apr ?

11 how can it be put simple in several words ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message