Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleStarting midPoint (Linux)
./bin/start.sh
Code Block
titleStopping midPoint (Linux)
./bin/stop.sh

The start.sh and 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:

Code Block
titleUsing midpoint.sh script (Linux)
./bin/midpoint.sh start
./bin/midpoint.sh stop

The 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:

Code Block
#!/bin/sh
export JAVA_OPTS="$JAVA_OPTS -Dmidpoint.nodeId=My_Node1"

The midpoint.sh script may provide more run control and diagnostics capabilities in the future.

...

Code Block
titleStopping midPoint (Windows)
bin\stop.bat

The start.bat and stop.bat scripts are just simple wrappers for midpoint.bat script. The midpoint.bat script is where all the action happens.

The 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:

...