You are looking at documentation for an older release. Not what you want? See the current release documentation.
This section is a tutorial to teach you how to configure eXo Platform as a windows service. To configure eXo Platform to run as a windows service, two ways are possible.
The first way: Through Tomcat native installer
This section describes how to configure eXo Platform as a Windows service in a standard Tomcat installation.
For that purpose follow this procedure:
Use a sample batch script, you can take a look at apache tomcat
documentation
or you can use this script
service_eXo.bat
and put it under eXo_Platform_tomcat_home\bin\
.
Open a command prompt and run this command:
service_exo.bat install eXo-service
Where eXo-service is the service name.
This will install eXo Platform as a windows service which will be started at the system's startup.
To uninstall the service, run this command:
tomcat8.exe //DS//eXo-service
The second way: Using the NSSM tool
The non sucking service manager NSSM is a tool that helps you to create a windows service based on your application's startup script.
To create your eXo Platform windows service using NSSM, follow this procedure:
Place the NSSM executable file i.e nssm.exe
in a folder which already exists in your PATH
or follow these steps:
Create a folder nssm under C:\Program Files\
and place nssm.exe
in it.
Add the folder C:\Program Files\nssm
to your PATH environement variable using this command in a command prompt:
setx PATH "%PATH%;C:\Program Files\nssm" /M
In a command prompt, run this command:
nssm install <servicename>
This will open a nssm window allowing you to browse and select your application startup script.
Point to eXo Platform startup script start_eXo.bat
and click on .
You can now run eXo Platform through this command:
nssm start <servicename>
To stop eXo Platform server, use this command:
nssm stop <servicename>
More details about NSSM commands in this link.