If you install
multiple configurations on the same server, you can run each
configuration as a WildFly service.
The first time that you install a WildFly
service, the system makes this service the default service. Follow the
instructions below for any additional configurations.
-
Locate the appropriate service.bat file for your environment in
<install_folder>/wildfly/bin
-
Run the command prompt
as an administrator, and enter the following command:
service<myConfigName>.bat install
where <myConfigName> is the name of your configuration. For example:
serviceigx.bat install
where igx is the name of the configuration if you used the default
configuration. Or,
serviceIA.bat install
where IA is the name of your configuration.
You will see a message that the service installed successfully.
-
From
the Windows Control Panel, select Administrative Tools > Services. From the
Services list, select the WildFly service for your application and change its manual or automatic startup
properties, as needed.
-
Start the service.
The service executes
start-WildFly.bat, using the same JVM™ and
Java Options as the command line invocation of WildFly.
-
Review server.log in
<install_folder>/Infogix/WildFly/server/<myConfigName>/log
to confirm that the server started successfully.
-
In the future, if you need to uninstall
the WildFly service,
enter the following command
at the command prompt:
service<myConfigName>.bat uninstall
where <myConfigName> is the name of your configuration. For example:
serviceigx.bat uninstall
where igx is the name of the configuration if you used the default
configuration.