How to verify if Tomcat service works on Plesk


2016-11-16 13:10:34 UTC


2017-08-16 18:36:38 UTC


Was this article helpful?

Have more questions?

Submit a request

How to verify if Tomcat service works on Plesk

Applicable to:

  • Plesk 10.x for Linux
  • Plesk 12.5 for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux


How to verify if Tomcat service works on Plesk?


Plesk uses regular Tomcat server that comes with the operating system. There are two ways to access the JSP application on the Plesk server: through the 9080 port and through the 80 port.

When accessing  the application using the 9080 port (e.g., ), a response is received directly from the Tomcat server. Check that the port is listening on the IP addresses:

~# netstat -plant|grep 9080
tcp 0 0 :::9080 :::* LISTEN 20018/java

When opening , Apache Web server is requested, which forwards the request to Tomcat on the 9008 port by mod_jk ( psa-mod_jk package ).

To verify if Tomcat is functioning on a domain:

  1. Make sure " Tomcat Java " is installed and configured on the server.

  2. Make sure the Hosting Plan allows Java application: “Java applications” is selected in Resources, “Java applications management” is selected in Permissions.

  3. Make sure Java Applications is enabled for the domain:

    CP > Websites & Domains > Show Advanced Operations > Java Applications

  4. Create a WAR archive from the "examples" application that is distributed with your Tomcat. To do this, create a ZIP archive of the directory with the Tomcat examples application.

For Tomcat 5:

cd /var/lib/tomcat5/webapps/jsp-examples
zip -r examples5.war ./

For Tomcat6:

cd /var/lib/tomcat6/webapps/examples/jsp
zip -r examples6.war ./

Then upload this WAR through the Plesk control panel, restart Apache to force the web applications to work immediately, and check to see if it works.

If there are any problems with Tomcat, examine its log for errors. It is usually located in /var/log/tomcat6/catalina.out (or /var/log/tomcat5/catalina.out ).

Additional information

It is not possible to manage Tomcat service

Have more questions? Submit a request
Please sign in to leave a comment.