Starting and stopping the application (Linux/JBoss) at start-up and shutdown - HxGN EAM - Version 11.07.01 - Installation & Upgrade

HxGN EAM Installation Guide

Language
English
Product
HxGN EAM
Search by Category
Installation & Upgrade
HxGN EAM Version
11.7.1

After installation, to start and stop the application at start-up and shutdown on Linux/JBoss, you must do the following:

  1. Create a file under [APP_HOME]/init.d called infoream.

    In this file specify the following text, replacing <app-home> with the location of your EAM installation, and setting the user value to the Linux user that is running the EAM application.

    [Unit]
    Description=HxGN EAM
    After=network.target
    [Service]
    Type=forking
    User=<Linux user that is running the EAM app>
    ExecStart=<app-home>/app.sh start
    ExecStop=<app-home>/app.sh stop
    [Install]
    WantedBy=multi-user.target

  2. As root, copy the infoream script to /etc/systemd/system/infoream.service.

  3. As root, run systemctl daemon-reload.

  4. As root, run systemctl enable infoream.service.

    The HxGN EAM application and HTTP server then begins at start-up and stops and shutdown.

    Although the processes are running you will want to verify that a similar line as the following appears in the boot.log before attempting to login to the application:

    WildFly Full 14.0.1.Final (WildFly Core 6.0.2.Final) started in 122313ms