To install the Tomcat Windows Service, complete the following:
C:\Windows\System32\cmd.exe
as Administrator.<APPIAN_HOME>\tomcat\apache-tomcat\bin
directory.service.bat install
.
Manual
.You can now start and stop Tomcat from the Windows Services manager.
Startup and shutdown logs are written to <APPIAN_HOME>\tomcat\apache-tomcat\bin\startup.log
and <APPIAN_HOME>\tomcat\apache-tomcat\bin\shutdown.log
when the service starts and stops Tomcat. These logs are written in addition to the logs produced by the application server when Tomcat is not run as a windows service.
To uninstall the Tomcat Windows Service, complete the following:
C:\Windows\System32\cmd.exe
as Administrator.<APPIAN_HOME>\tomcat\apache-tomcat\bin
directory.service.bat uninstall
The following details how to install the Appian Engines and Search Server as a Windows Service. These steps assume that you have a fully configured installation following the Windows Installation Guide
<SERVICE_MANAGER_PASSWORD>
cmd.exe
) as Administrator.<APPIAN_HOME>\services\bin\win-service\
.Appian Service Manager
with the description Appian Service Manager and Engines
.Note: When the stop command is sent from the management console, the engines stop quickly in order to allow a server shutdown or reboot to occur immediately afterward. This quick-stop shutdown mode is not suitable for subsequently upgrading your Appian installation to a newer version, which requires a shutdown that executes a checkpoint. When shutting down the Appian engines as part of an upgrade, you must run the stop script before stopping the service.
cmd.exe
) as Administrator.services\bin\win-service\
directory, run service uninstall to remove the Windows service.To allow the search server to continue to run after the OS user who started it logs out and control starting and stopping from the Windows Service management console, install it as a Windows Service.
Unlike the Appian engines, there are no special considerations regarding checkpointing that need to be considered. The search server will stop immediately when Windows issues the stop command.
See also: Search Server
cmd.exe
) as Administrator.<APPIAN_HOME>\search-server\bin\
.Appian Search
with the description Appian Search
.
cmd.exe
) as Administrator.<APPIAN_HOME>\search-server\bin\
directory, run service uninstall to remove the Windows service.To control starting and stopping the data service from the Windows Service management console, install it as a Windows Service. This will allow the data service to continue to run after the OS user who started it logs out. Before installing the data service as a Windows Service, first ensure that Appian engines are set up to run as a service.
Unlike the Appian engines, there are no special considerations regarding checkpointing that need to be considered. The data service will stop immediately when Windows issues the stop command.
cmd.exe
) as Administrator.<APPIAN_HOME>\data-server\bin\
.service install
to create the Windows service. The install command creates a Windows service called Appian Data Service with the description Appian Data Service.
cmd.exe
) as Administrator.<APPIAN_HOME>\data-server\bin\
directory, run service uninstall to remove the Windows service.Installing Appian as a Windows Service