Plesk supports deploying and managing Tomcat web application in order to enable users to set up hosting with JSP support. Click the Tomcat icon on the Domain Administration page, to access the Tomcat Web Applications Management functions:
On this page you can activate/deactivate the Tomcat service, upload the Tomcat web application archive files (.WAR files) and remove them, start/stop/restart web applications, and access them.
Users can only manage the Tomcat web application through Plesk interface. Managing the web application through the Tomcat manager was disabled in order to maintain coherence of Plesk Tomcat configuration.
The status of Tomcat service and the status of Tomcat web application are represented by the following icons:
Table 3.3. The Tomcat service/web applications status icons
Icon | Meaning |
---|---|
The Tomcat service status | |
means that the Tomcat service is activated | |
means that the Tomcat service for the domain is presently deactivated. | |
The Tomcat web application status | |
means that the web application is activated | |
means that this web application is presently deactivated and inaccessible. | |
means that web application is inaccessible. |
In order to disable the support of Tomcat web applications the Tomcat service can be deactivated. When the Tomcat service is deactivated, all active Tomcat web applications also change their status to 'inaccessible' while all inactive web applications remain unchanged.
Activation of the Tomcat service enables access to active web applications.
When the Tomcat service is activated, the status icon will change to , and so will the status icons of the Tomcat web applications at this domain that were active before deactivating the Tomcat service.
To activate/deactivate the Tomcat service:
Click the Enable or Disable icon respectively. The confirmation will appear querying whether you actually wish to change the status of the Tomcat service.
Click OK to proceed with changing the status. Clicking Cancel will leave the Tomcat service status unchanged.
To upload a new Tomcat web application archive file, follow these steps:
Click Add New Web Application.
Select the web application archive file. Use the Browse button to locate the desired file.
Only .war format (Web-application archive) files can be uploaded. The application file cannot be named as manager.war
Click OK. The new web application will be uploaded and added to the Tomcat web applications list.
You can restart the Tomcat web applications directly from the control panel. In order to stop, start or restart a web application follow these steps:
Select the web application at the Tomcat web applications list on the Tomcat Web Applications Management page.
To start the web application: click on the icon (Start the web application).
To stop the web application: click on the icon (Stop the web application).
To restart the web application: click on the icon (Restart the web application).
The current web application state will be marked by an icon: (ON) for the web application running, and (OFF) for the web application stopped.
A Tomcat web application can be accessed simply by clicking on its name in the Tomcat web applications list. The selected application will be opened in a new browser window.
If a web application is disabled, it cannot be accessed, and therefore, the link to it is also disabled.
You can remove one or several web applications at the same time. To remove a web application(s):
Check the checkboxes in the Tomcat web applications list corresponding to the web applications you wish to remove.
Click Remove Selected. The Web Application Removal page appears.
Confirm the removal, and click OK.