Versions Compared

Key

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

Apart from starting Adeptia Connect application manually, you can also configure it to be started automatically as a service at the start of your system running on Linux. 

...

This section guides you on how to start Connect Portal manually and automatically.

Prerequisite

Configure the systemd service in your Linux operation system.

...

Configuring Adeptia Connect as a Linux service for automatic startup

You can also start the entire application automatically by configuring it as a Linux service on your Linux system. To achieve this, follow the steps given below that set up automatic startup for both the Adeptia Connect Server and Portal.  

Warning
titleImportant
You can add Adeptia Connect services – ConnectServer and ConnectPortal – as Linux services only on Red Hat Enterprise Linux Server 7.9 or a higher version of Linux.

Make sure that the chkconfig command is installed on your Linux system.
  1. Anchor
    WithoutAImap
    WithoutAImap
    Download the
    zip zip AdeptiaConnect.zip and extract it.
    The zip contains two service files – ConnectServer, and ConnectPortal
  2. Stop Adeptia services.
  3. Place the extracted ConnectServer and ConnectPortal files in the \etc\init.d folder.  
  4. Open ConnectServer file in edit mode.
  5. In the INSTALLATIONPATH field, enter the Adeptia installation directory path up to ServerKernel as shown in the example below. 
  6. Save the file.
  7. Open ConnectPortal file in edit mode.
  8. In the INSTALLATIONPATH field, enter the Connect Portal installation directory path up to the "bin" folder as shown in the example below.
  9. Save the file.
  10. Grant permissions to ConnectServer and ConnectPortal files to Grant permissions to ConnectServer and ConnectPortal files to be executed by running the following commands. 
    chmod +x ConnectServer
    chmod +x ConnectPortal
  11. Run the following command to add the ConnectServer and ConnectPortal services in run levels. 
    chkconfig --add ConnectServer
    chkconfig --add ConnectPortal
  12. Check the status of the services by runningthe following command.

    chkconfig

    Tip
    To check the status of a specific service, for example, ConnectServer, use the following command.
    sudo systemctl status ConnectServerstatus ConnectServer.service


  13. Run the following commands to start the Adeptia services (if not started yet), enabling automatic startup of the application. 
    chkconfig ConnectServer on
    chkconfig ConnectPortal on

    You can also use following command to start the services. 
    service ConnectServer start
    service ConnectPortal start

    Info
    To To stop or restart the services, use the following commands.
    • service <Service Name> stop
    • service <Service Name> restart


  14. Restart the system.
    After the system restarts, the ConnectServer service the ConnectServer service starts the java instances of Kernel, WebRunner, and AIMap services, and the ConnectPortal service the ConnectPortal service starts the java instance of Portal.

...

  1. Download the zip AdeptiaConnectWithoutAIMap.zip and extract it. 
    The zip contains three files – ConnectServer, ConnectPortal, and startup.sh
  2. Stop Adeptia services.
  3. Place the extracted startup.sh file at ../AdeptiaConnect/ConnectServer/AdeptiaServer/ServerKernel location.

    Info
    Make sure that you have granted the required set of permissions to startup.sh file for its execution.


  4. Follow the steps from 3 through 14 in  in the section above.
    After the system restarts, the ConnectServer service the ConnectServer service starts the java instances of Kernel, and WebRunner.

    Tip
    To add the AIMap service at any later point in time, you can execute the startupAIMap.sh file located at ../AdeptiaConnect/ConnectServer/AdeptiaServer/ServerKernel. To remove the AIMap service again, you can execute the stopAIMap.sh file placed at the same location.


Next step

Verifying Installation  

...