This chapter provides sample instructions for deploying the WAR file to WildFly. See Upgrading Virtualize Server for WildFly Deployments for instructions on updating to a new version of the SOAtest and Virtualize Server.
- Download WildFly 10.1 or higher for your platform from http://wildfly.org/.
- Extract the downloaded WildFly file to a location of your choice (<WILDFLY_HOME>) and remove the <WILDFLY_HOME>/welcome-content directory.
- Start WildFly according to your preference (see the WildFly documentation for start-up options). For example, run the <WILDFLY_HOME>/bin/standalone.bat script to start the standalone server using the default configuration.
- Go to http://localhost:9990/ and follow the instructions for configuring WildFly to manage deployments. You may need to add a WildFly user with administrative access.
- (Optional) To deploy the WAR file over SSL, configure the port for HTTPS as described in step 7. No additional configuration is required.
- Extract the contents of the WAR file into <UNZIPPED_SOAVIRT_WAR>.
- Open the <UNZIPPED_SOAVIRT_WAR>/WEB-INF/config.properties configuration file and specify the following (see Configuring Virtualize Server Configuration for details):
- Ports used by WildFly, e.g.,
server.port.http=8080
orserver.port.https=8443
. The ports specified in config.properties must match the ports specified in the WildFly configuration. - License.
- Workspace.
- Ports used by WildFly, e.g.,
- Compress the contents of the <UNZIPPED_SOAVIRT_WAR> back into the WAR and deploy it using one of the following methods:
- Web interface:
- Go to http://localhost:9990/ and click the Deployments tab.
- Click Add and use the wizard to deploy the WAR file.
- CLI console:
- Start <WILDFLY_HOME>/bin/jboss-cli.bat and run the following command:
[standalone@localhost:9990 /] deploy <WAR>
- Start <WILDFLY_HOME>/bin/jboss-cli.bat and run the following command:
- Web interface:
- Browse to http://localhost:8080/ (adjust the port if needed). If the following message appears, then the application was installed correctly:
...