Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Which file to edit to configure the port to be used by the AJP connector and the JMX connector, for tomcat?

share|improve this question

1 Answer 1

For the AJP connector, define it in /conf/server.xml, the default configuration follows:

    <!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

For jmx-port, add it to the java_opts at startup in catalina.sh:

-Dcom.sun.management.jmxremote.port=9004

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.