Article ID: 1571, created on Oct 6, 2008, last review on May 11, 2014

  • Applies to:
  • Plesk for Linux/Unix

Resolution

If an application works though the 9080 port, but fails to run on 80, it is possible that the Apache<->Tomcat (mod_jk) connector is not configured properly.

Make sure that the file $HTTPD_CONF_D/workers.properties that is included in $HTTPD_INCLUDE_D/zz010_psa_httpd.conf contains the following options:

worker.list=ajp13
worker.ajp13.port=9008
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

If not, correct it and restart Apache.

If it doesn't help, check that you get an answer when running the following:

# telnet localhost 9008
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

 
If the connection to 9008 fails, make sure that Tomcat itself is configured to listen on 9008. There should be a line that looks like the following:

<Connector port="9008" enableLookups="true" debug="0" protocol="AJP/1.3"/>

If you don't see it, run this command to get the configuration needed by the Plesk connectors:

/usr/local/psa/admin/sbin/tomcatmng --install-psa


29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF