Introduction
Learn how to upload a Java application to a server with Plesk, so that it can be run from Apache Tomcat. We will upload an example Java application through the Plesk interface.
For any server with Plesk, applications like Tomcat should always be upgraded and managed through the Plesk interface.
Requirements
- A server with Plesk and Apache Tomcat installed
For step-by-step instructions on installing Tomcat on Plesk, see our article Install Tomcat on a Server with Plesk.
This tutorial uses the Power User view. You can change the Plesk view by clicking Change View at the bottom of the column on the left.
Firewall Access
If you have a firewall, you will need to allow access to port 9080.
For more information about using a firewall on a Servidor Cloud, consult our documentation on the topic.
Upload the .war File
For this tutorial we will be using this sample Java application from the Apache Software Foundation. Be sure to save the file with its original .war file extension.
Log in to the Plesk Admin panel, then click Websites & Domains.

Scroll down to the section for the website where you wish to host the application. Click Java Applications for that website.

Click + Install Java application.

Select and upload the application's .war file.

The file will be uploaded. You will be returned to the previous page.
To enable the Java application, activate the check box, then click Switch On.

After the Java application is switched on, you can click the file path to view the application in a browser.

You will see the sample application.

Start, Stop, or Restart the Application
To manage the application, log in to the Plesk Admin panel, then click Websites & Domains.

Scroll down to the section for the website where you wish to host the application. Click Java Applications for that website.

Click the appropriate icon to start, stop, or restart the Java application.
