PLESK 7.5 RELOADED > Administering Domains

Managing Java Applications

Plesk supports deploying and managing Java 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 Java Applications Management functions.

At this page you can activate/deactivate the Tomcat service that serves the Java applications, upload the application archive files (.WAR files) and remove them, start/stop/restart applications, and access them.

IMPORTANT

Users can only manage the Java application through Plesk interface. Managing them through the Tomcat manager was disabled in order to maintain coherence of Plesk Tomcat configuration.

The status of Tomcat service and the status of an application are represented by the following icons:

Table 3.4. The Tomcat service/application 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 application status
[ON]
means that the application is activated
[ X ]
means that this application is presently deactivated and inaccessible.
[ ! ]
means that 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 Java applications also change their status to 'inaccessible' while all inactive applications remain unchanged.

Activation of the Tomcat service enables access to active 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 Java web application archive files

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

  1. Click Add New Java Application.

  2. Select the 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.

Restarting web applications

You can restart the installed Java applications directly from the control panel. In order to stop, start or restart an application follow these steps:

  1. Select the application at the applications list on the Java Applications Management page.

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

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

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

The current application state will be indicated with an icon: [ON] (ON) for a web application running, and [ON] (OFF) for a web application stopped.

Accessing Java applications

An application can be accessed simply by clicking on its name in the Tomcat web applications list. The selected application's interface will open in a new browser window.

NOTE

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

Removing applications

You can remove one or several applications at the same time. To remove an application:

  1. In the list of applications, select a checkbox corresponding to the application you wish to remove.

  2. Click Remove Selected.

  3. Confirm the removal, and click OK.


to top