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

/etc/dse/tomcat/conf/server.xml

Tarball installations + Installer-No Services installations

<installation_location>/resources/tomcat/conf/server.xml

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"

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com