View this page in the latest version of Appian. Installing Appian as a Windows Service Share Share via LinkedIn Reddit Email Copy Link Print On This Page Beginning with Appian 25.4, all new versions of Appian will require containers managed by Kubernetes to run in a self-managed environment. Review the 24.4 release notes and frequently asked questions to learn more. Installing Tomcat as a Windows service To install the Tomcat Windows Service, complete the following: Open a command prompt. Run C:\Windows\System32\cmd.exe as Administrator. Change directories to the <APPIAN_HOME>\tomcat\apache-tomcat\bin directory. Type the following command: service.bat install. A message is displayed stating "Service AppianWeb installed" and a service named "Appian Web Application" is added to the Services Console with a Startup Type setting of 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. Uninstalling Tomcat as a Windows service To uninstall the Tomcat Windows Service, complete the following: Open a command prompt. You must run C:\Windows\System32\cmd.exe as Administrator. Change directories to the <APPIAN_HOME>\tomcat\apache-tomcat\bin directory. Type the following command: service.bat uninstall A message is displayed stating "Service AppianWeb removed" and the service named "Appian Web Application" is removed. Installing Engines as a Windows service 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 installation Uninstall any existing service installation if a legacy Appian installation exists on the same server. Setup the service manager password as an environment variable. Open Window's Advanced System Settings. Accessing this window varies between Windows OS In the System Properties window, click the Advanced tab Click on the Environment Variables button Create a new system variable. Variable Name: APPIAN_SM_PASSWORD Variable Password: <SERVICE_MANAGER_PASSWORD> Click OK and close the system setting window. Open a command prompt. You must have administrator rights on the server to install Appian as a Windows service. Run the command prompt (cmd.exe) as Administrator. Change directories to <APPIAN_HOME>\services\bin\win-service\. Type service install to create the Windows service. The install command creates a Windows service called Appian Service Manager with the description Appian Service Manager and Engines. Use the Windows Services management console to start and stop the service. We recommend checkpointing the engines, and confirming checkpoint completion prior to stopping the service. 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. Service uninstallation Run the command prompt (cmd.exe) as Administrator. From the services\bin\win-service\ directory, run service uninstall to remove the Windows service. Installing search server as a 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 Installation Open a command prompt You must have administrator rights on the server to install Appian as a Windows service. Run the command prompt (cmd.exe) as Administrator. Change directories to <APPIAN_HOME>\search-server\bin\. Type service install to create the Windows service. The install command creates a Windows service called Appian Search with the description Appian Search. Use the Windows Services management console to start and stop the service. Uninstallation Open a command prompt You must have administrator rights on the server to install Appian as a Windows service. Run the command prompt (cmd.exe) as Administrator. From the <APPIAN_HOME>\search-server\bin\ directory, run service uninstall to remove the Windows service. Installing data service as a 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. Install the service Open a command prompt You must have administrator rights on the server to install Appian as a Windows service. Run the command prompt (cmd.exe) as Administrator. Change directories to <APPIAN_HOME>\data-server\bin\. Enter service install to create the Windows service. The install command creates a Windows service called Appian Data Service with the description Appian Data Service. Use the Windows Services management console to start and stop the service. Uninstall the service Open a command prompt You must have administrator rights on the server to install Appian as a Windows service. Run the command prompt (cmd.exe) as Administrator. From the <APPIAN_HOME>\data-server\bin\ directory, run service uninstall to remove the Windows service. Feedback Was this page helpful? SHARE FEEDBACK Loading...