Removing the AJP Connector
In the file jakarta-tomcat-X.X/conf/server.xml you will also find a Connector element defining the parameters of an “AJP connection handler” (used for interactions with an Apache server). It looks like:
<Connector className=“. . .”>
<Parameter name=“handler” value=“. . . .Ajp12ConnectionHandler”>
<Parameter name=“port” value=“8007”>
</Connector>
If you are using a course host, change the value of the port parameter from its default 8007 to a value unique to you—e.g. the a port number one greater than your HttpConnectionHandler port.
Even if you are not going to use the Apache connection, the shutdown.sh script also uses this port, so the connection handler is still required.