How to Disable the AJP Protocol in Tomcat

Applies to: All versions of Ephesoft Transact.

The following steps describe how to disable the AJP Protocol in Tomcat to further secure your Tomcat web server.

You may need to do this with Transact 2020.1.06 or above if you are receiving the error as noted in the Knowledge Base article AJP Protocol Error – “Invalid Message Received.”

Disable the AJP Protocol

To disable the protocol:

  1. Navigate to [Ephesoft_Directory]\JavaAppServer\conf\server.xml.
  2. Comment out the line referencing AJP/1.3. This will be similar to the following:

<Connector port="8009" maxPostSize="4194304" redirectPort="8443" protocol="AJP/1.3" address="0.0.0.0" secretRequired="false"/>

  1. Save and restart the Transact service.