14.1 Installation
The following section is for information only as the installer registers the service. However, it is included in case manual installation/uninstallation is required.
In order to set up the application to run as a service using the Apache Tomcat application, the following configuration needs to be performed, from a command prompt started with administrator privileges.
- Set up the following system environment variable to the path entered during the installation procedure. The value used below is the default:
SWAT_HOME = C:\Program Files\ServicePower\ServiceSWAT\webapps\ServiceSWAT
- Set up the following system environment variable:
CATALINA_HOME = C:\Program Files\ServicePower\ ServiceSWAT
- Open a command prompt in administrator mode and run the following command to install the tomcat service (note the quotes are required because there is a space in
CATALINA_HOME
):
"%CATALINA_HOME%\bin\service.bat" install
Once the installer has been run the output “The service 'ServiceSWAT' has been installed.” should be displayed.
To remove the service simply run the same command exchanging “remove” for “install”.