- 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
, Apache Web server is requested, which forwards the request to Tomcat on the 9008 port by
( psa-mod_jk package ).
To verify if Tomcat is functioning on a domain:
Make sure " Tomcat Java " is installed and configured on the server.
Make sure the Hosting Plan allows Java application: “Java applications” is selected in Resources, “Java applications management” is selected in Permissions.
Make sure Java Applications is enabled for the domain:
CP > Websites & Domains > Show Advanced Operations > Java Applications
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:
zip -r examples5.war ./
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