Changing the HTTP interface to Apache JServe Protocol™
Where is the Tomcat server.xml
file?
The location of the Tomcat server.xml
file depends on the type of installation:
Installation Type | Location |
---|---|
Package installations + Installer-Services installations |
|
Tarball installations + Installer-No Services installations |
|
In addition to the widely-used HTTP interface, you can configure DSE search to use the AJP (Apache JServe Protocol).
AJP is an optimized, binary version of HTTP that facilitates Tomcat communication with an Apache web server using mod_jk
.
Typically, you use AJP when HTTPS serves a web application and DSE Search powers the backend.
By default the AJP connector is disabled.
To enable the AJP connector, uncomment the connector configuration in the Tomcat server.xml
file.
Remove the comments as shown:
<!-- Define an AJP 1.3 Connector on port 8009 -->
Connector port="8009" protocol="AJP/1.3" redirectPort="8443"