Product:
Search Type:

"Internal Server Error" occurs if I try to open Tomcat application via browser using URL like http://SERVER_IP/WEB_APP/. If I use port 9080, it works (http://SERVER_IP:9080/WEB_APP/).

Article ID: 1571 
Last Review: Nov,30 2006
APPLIES TO:
  • Plesk 8.x for Linux/Unix

RESOLUTION


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

Make sure that the file $HTTPD_CONF_D/workers.properties which is included into $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 run:

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



And if the connection to 9008 failed check that Tomcat itself is configured to listen on 9008. It should be the line in like:

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

If you don't see it, run:

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


command to configure needed by Plesk connectors.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields