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 serviceCopy link to clipboard
To install the Tomcat Windows Service, complete the following:
- Open a command prompt.
- Run
C:\Windows\System32\cmd.exe
as Administrator.
- Run
- 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
.
- 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
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 serviceCopy link to clipboard
To uninstall the Tomcat Windows Service, complete the following:
- Open a command prompt.
- You must run
C:\Windows\System32\cmd.exe
as Administrator.
- You must run
- 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 serviceCopy link to clipboard
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 installationCopy link to clipboard
- 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 Window's Advanced System Settings.
- 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 descriptionAppian 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 uninstallationCopy link to clipboard
- 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 serviceCopy link to clipboard
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
InstallationCopy link to clipboard
- 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 descriptionAppian Search
.- Use the Windows Services management console to start and stop the service.
UninstallationCopy link to clipboard
- 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 serviceCopy link to clipboard
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 serviceCopy link to clipboard
- 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 serviceCopy link to clipboard
- 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.