Installing midPoint as a Windows Service

Last modified 24 Mar 2021 19:07 +01:00

As of 4.2 Windows Service support is broken because of changes related to Spring Boot upgrades. It is undetermined when it will be back. Currently only start.bat and stop.bat scripts are the alternative.

This page describes the method how to setup midPoint server to run as Windows service. This is the usual setup to start midPoint automatically after system boot on Windows. The service will be started as MidPoint and will listen on default TCP 8080 port.

Download

Download the midPoint binary release according to the following table:

MidPoint 4.3 Binary Distribution

https://evolveum.com/downloads/midpoint/4.3/midpoint-4.3-dist.zip
https://evolveum.com/downloads/midpoint/4.3/midpoint-4.3-dist.tar.gz

Unpack the archive file to a convenient location. Following instructions will refer to the relative paths inside this archive.

Install

  1. Install MidPoint as service by executing service.bat script from bin directory with install argument e.g.:

    .\Downloads\midpoint\bin\service.bat install
  2. Start, Stop and configure service:

    1. Another binaries midpointw.exe, is GUI application which is used to monitor and configure created MidPoint service. Main function of this application is to Start and Stop MidPoint service. Run this application located in \bin directory and Start/Stop MidPoint by click on start/stop.

  3. Uninstall MidPoint service executing service.bat script from \midpoint-3.7\bin directory with uninstall argument e.g. (Stop the service before uninstallation):

    .\Downloads\midpoint\bin\service.bat uninstall

You can also start/stop service with windows Services application.