Installing midPoint as a Windows Service

Last modified 16 Jun 2021 21:23 +02:00

Windows Service support was broken for 4.2 before 4.2.1 and 4.3 before 4.3.2. For those versions 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.1 Binary Distribution

https://evolveum.com/downloads/midpoint/4.3.1/midpoint-4.3.1-dist.zip
https://evolveum.com/downloads/midpoint/4.3.1/midpoint-4.3.1-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:

    .\Downloads\midpoint\bin\service.bat install
  2. Service can be controlled by common tools for Windows Services. Alternatively midpointw.exe application with GUI is provided in the bin directory to start, stop or configure the service.

  3. Uninstall MidPoint service executing service.bat script from bin directory with uninstall. Stop the service first, then run:

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

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