The ApplinX server can be started either as a Windows service or using a batch file. ApplinX can also run under a Java Application Server (for further details, refer to the relevant topics in Deploying with ApplinX in the Designing and Developing an Application documentation).
See also Managing the ApplinX Server in the Administration section.
In the installation process, it is possible to define that ApplinX server runs as a Windows system service, started and stopped via
. By default, the service is automatically run when starting the computer.ApplinX Server can be run using batch command files, located in the <ApplinX installation>/bin folder:
startup.bat | Starts the ApplinX server. |
shutdown.bat | Stops the ApplinX server. |
In the ApplinX installation directory, you can find the following shell scripts:
startup.sh | Starts the ApplinX server. |
shutdown.sh | Stops the ApplinX server. |
To create a systemd service unit to start ApplinX application
Add the following lines in the sag1applinx.service file
Note:
Make necessary changes to the parameters “ExecStart” and “ExecStop” based on
installation path.
# ----------------------------------------------------------------------------- # # IBM ApplinX Server # # Copyright Super iPaaS Integration LLC, an IBM Company 2024 # Use, reproduction, transfer, publication or disclosure is prohibited except # as specifically provided for in your License Agreement with IBM. # ----------------------------------------------------------------------------- # sag1applinx.service [Unit] Description=IBM ApplinX Server After=multi-user.target [Service] Type=forking RemainAfterExit=yes Restart=no User=sag ExecStart=/bin/bash -c ". /opt/softwareag/suite_10-11_OCT2021/ApplinX/apxenv && cd $APPLINX_ROOT/bin && ./startup.sh" ExecStop=/bin/bash -c ". /opt/softwareag/suite_10-11_OCT2021/ApplinX/apxenv && cd $APPLINX_ROOT/bin && ./shutdown.sh" [Install] WantedBy=multi-user.target
Review the sag1applinx.service file.
/usr/lib/systemd/system=>cat sag1applinx.service
/usr/lib/systemd/system=>sudo systemctl daemon-reload /usr/lib/systemd/system=>sudo systemctl start sag1applinx
/opt/softwareag/suite_10-11_OCT2021/ApplinX/bin=>sudo systemctl enable sag1applinx
Output of above command: Created symlink /etc/systemd/system/multi-user.target.wants/sag1applinx.service → /usr/lib/systemd/system/sag1applinx.service.
/opt/softwareag/suite_10-11_OCT2021/ApplinX/bin=>sudo systemctl status sag1applinx