ApplinX Server

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.

Windows Service:

In the installation process, it is possible to define that ApplinX server runs as a Windows system service, started and stopped via Start > Settings > Control Panel > Administrative Tools > Services. By default, the service is automatically run when starting the computer.

Batch Files:

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.

Linux Environments:

In the ApplinX installation directory, you can find the following shell scripts:

startup.sh Starts the ApplinX server.
shutdown.sh Stops the ApplinX server.

Start of instruction setTo create a systemd service unit to start ApplinX application

  1. 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
  2. Review the sag1applinx.service file.

    /usr/lib/systemd/system=>cat sag1applinx.service
  3. /usr/lib/systemd/system=>sudo systemctl daemon-reload
    /usr/lib/systemd/system=>sudo systemctl start sag1applinx
  4. /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