# Web Client

## Installing the Web Presentation Service (WPS) as Service (for Windows)

| Since the release of Agile e5.1 the Java Service wrapper is delivered. With the creation of a Web Presentation Service (WPS), a script is created by which the WPS can be installed as a service. The created script is located in the directory <ep_root>\axalant\cmd and is named "PS_<wps-name>.bat". This script can be called up in the DOS shell with different parameters: 1. PS_<envname>.bat -c starts the WPS mit ouput in the console (can be terminated with CTRL-C) 2. PS_<envname>.bat -i installs the WPS as Windows service 3. PS_<envname>.bat -t starts the WPS Windows service 4. PS_<envname>.bat -p stops the WPS Windows service 5. PS_<envname>.bat -r deleted/uninstalls the WPS Windows service Calling up the script PS_<envname>.bat without a parameter, a list of possible parameters is displayed. Used files: - <ep_root>\axalant\bin\intel-ms-nt5.0\wrapper.dll - <ep_root>\axalant\bin\intel-ms-nt5.0\wrapper.exe - <ep_root>\axalant\ini\PS_wrapper.conf (check/change this file before installing a service) - <ep_root>\axalant\ini\tpl_PS_env.bat (the scripts for the corresponding WPS in the directory <ep_root>\axalant\cmd are created from this template) - <ep_root>\axalant\cmd\PS_<wps-name>.bat
| ### Start the Web Presentation Service (WPS) for UNIX
| For Unix the script is located in the directory <ep_root>/axalant/scripts and is named "BS_<envname>.sh". This script can be called up in the DOS shell with different parameters: 1. PS_<envname>.sh console = starts the [Web] Presentation Service (Tomcat) with output in the console 2. PS_<envname>.sh start = starts the WPS in the background 3. PS_<envname>.sh stop = stops the WPS service 4. PS_<envname>.sh restart = restarts the WPS service 5. PS_<envname>.sh [dump] = causes the WPS service to do a full thread dump