The tomcat
utility is used to manage the Tomcat service and the
Java-based Web applications on domains through CLI. By using this
utility, you can perform the following tasks:
- installing Java-based Web applications on a domain
- changing status of the Tomcat service on a domain
- changing statuses of Java-based Web applications on a domain
Usage
tomcat <command> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]
Example
The following command installs a new Java-based Web application from
file /usr/local/siteapps/storefront.war
on the domain example.com:
plesk bin tomcat --install /usr/local/siteapps/storefront.war -domain example.com
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--install or -i |
<file_name> |
Installs a Java-based Web application on a domain. Requires the |
To install the web application from the file plesk bin tomcat --install /usr/local/siteapps/storefront.war -domain example.com or plesk bin tomcat -i /usr/local/siteapps/storefront.war -domain example.com |
…