PLESK 7 > Administering Your Domain

Managing Tomcat Web Applications

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.

IMPORTANT

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

IconMeaning
The Tomcat service status
[ON]
means that the Tomcat service is activated
[ X ]
means that the Tomcat service for the domain is presently deactivated.
The Tomcat web application status
[ON]
means that the web application is activated
[ X ]
means that this web application is presently deactivated and inaccessible.
[ ! ]
means that web application is inaccessible.

Activating/deactivating the Tomcat service

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.

NOTE

When the Tomcat service is activated, the status icon will change to [ON], 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:

  1. Click the Enable or Disable icon respectively. The confirmation will appear querying whether you actually wish to change the status of the Tomcat service.

  2. Click OK to proceed with changing the status. Clicking Cancel will leave the Tomcat service status unchanged.

Uploading Tomcat web application archive files

To upload a new Tomcat web application archive file, follow these steps:

  1. Click Add New Web Application.

  2. Select the web application archive file. Use the Browse button to locate the desired file.

    NOTE

    Only .war format (Web-application archive) files can be uploaded. The application file cannot be named as manager.war

  3. Click OK. The new web application will be uploaded and added to the Tomcat web applications list.

Restarting the web applications

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:

  1. Select the web application at the Tomcat web applications list on the Tomcat Web Applications Management page.

  2. To start the web application: click on the [UP] icon (Start the web application).

    To stop the web application: click on the [DOWN] icon (Stop the web application).

    To restart the web application: click on the [RESTART] icon (Restart the web application).

The current web application state will be marked by an icon: [ON] (ON) for the web application running, and [ON] (OFF) for the web application stopped.

Accessing the Tomcat web applications

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.

NOTE

If a web application is disabled, it cannot be accessed, and therefore, the link to it is also disabled.

Removing web applications

You can remove one or several web applications at the same time. To remove a web application(s):

  1. Check the checkboxes in the Tomcat web applications list corresponding to the web applications you wish to remove.

  2. Click Remove Selected. The Web Application Removal page appears.

  3. Confirm the removal, and click OK.


to top