tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakub 1983 <jjaku...@gmail.com>
Subject connectors - what are JK, AJP, APR
Date Tue, 09 Apr 2013 15:03:32 GMT
)
http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html 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
Engine<http://tomcat.apache.org/tomcat-7.0-doc/config/engine.html>
.

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

   - JK 1.2.x with any of the supported servers. See the JK
docs<http://tomcat.apache.org/connectors-doc/>for details.
   - mod_proxy on Apache httpd 2.x (included by default in Apache HTTP
   Server 2.2), with AJP enabled: see the httpd
docs<http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html>for
details.

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


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 &
non-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"
               connectionTimeout="20000"
               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)?


10)
http://tomcat.apache.org/tomcat-7.0-doc/apr.html#APR_Connectors_Configurationstates:

*AJP*

For AJP configuration, see the
AJP<http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html>connector
configuration documentation.

it redirects to
http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.htmlwhich states
nothing about apr,
so what is apr ?

11 how can it be put simple in several words ?


regards
Jakub

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