Developers Getting Started With i2b2
Space shortcuts
Space Tools
Developers Getting Started With i2b2 getstarted

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin


Setting up a Linux service to run your Wildfly Web Server will allow the server to continuously run in the background, without any user interaction. Another advantage of a Linux service is that it will run no matter which user is logged onto the machine. This means you do not have to leave a user logged onto the server just to keep Wildfly running. You can also configure the service to start automatically if the system is rebooted.


Wildfly 37.0.1

Refer to the README file in the Wildfly directory for instructions on setting it up as a service. Some of the text is included below as an example.

== Create a wildfly user

  # groupadd -r wildfly
  # useradd -r -g wildfly -d /opt/wildfly -s /sbin/nologin wildfly

== Install WildFly

  # tar xvzf wildfly-37.0.1.Final.tar.gz -C /opt
  # ln -s /opt/wildfly-37.0.1.Final /opt/wildfly
  # chown -R wildfly:wildfly /opt/wildfly

== Configure systemd

  # mkdir /etc/wildfly
  # cp wildfly.conf /etc/wildfly/
  # cp wildfly.service /etc/systemd/system/
  # cp launch.sh /opt/wildfly/bin/
    # chmod +x /opt/wildfly/bin/launch.sh

== Start and enable

  # systemctl start wildfly.service
    # systemctl enable wildfly.service

Wildfly 17 (i2b2 1.7.12-1.8.1)

The information in this section will guide you through setting up Wildfly 17 to run as a Linux Service.

...

Directory

Description

/etc

Standard Linux directory that contains the configuration files for the system.

/etc/init.d

Standard Linux directory that contains the startup scripts for various system services.
These services are usually those that are to automatically start when the system is rebooted.

/wildfly-1737.0.0.Final/bin/init.d  

Wildfly directory that was created when Wildfly was installed.
It contains the configuration file and script to start Wildfly as a service.

...

Developers Getting Started With i2b2 getstarted