stop.sh scripts are just simple wrappers for
midpoint.sh script. The
midpoint.sh script is where all the action happens. This script can also be invoked directly:
./bin/midpoint.sh start ./bin/midpoint.sh stop
midpoint.sh script will process the script
setenv.sh if it exists in the same directory
(/bin). The script is a convenient place for customizing JVM properties, for example:
#!/bin/sh export JAVA_OPTS="$JAVA_OPTS -Dmidpoint.nodeId=My_Node1"
midpoint.sh script may provide more run control and diagnostics capabilities in the future.
stop.bat scripts are just simple wrappers for
midpoint.bat script. The
midpoint.bat script is where all the action happens.
midpoint.bat script will process the script
setenv.bat if it exists in the same directory
(bin). The script is a convenient place for customizing JVM properties.
Setting Up a Service
Proper way to run midPoint on a server is to register it to the operating system service control facility. This procedure is inherently dependent on an operating system. Following pages provide specific instruction for individual operating systems: