Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2020.1

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.

  1. Download WildFly 10.1 or higher for your platform from http://wildfly.org/.
  2. Extract the downloaded WildFly file to a location of your choice (<WILDFLY_HOME>) and remove the <WILDFLY_HOME>/welcome-content directory.
  3. 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.
  4. 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.
  5. (Optional) To deploy the WAR file over SSL, configure the port for HTTPS as described in step 7. No additional configuration is required.
  6. Extract the contents of the WAR file into <UNZIPPED_SOAVIRT_WAR>.
  7. 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 or server.port.https=8443. The ports specified in config.properties must match the ports specified in the WildFly configuration.
    • License.
    • Workspace.
  8. Compress the contents of the <UNZIPPED_SOAVIRT_WAR> back into the WAR and deploy it using one of the following methods:
    • Web interface:
      1. Go to http://localhost:9990/ and click the Deployments tab.
      2. Click Add and use the wizard to deploy the WAR file.
    • CLI console:
      1. Start <WILDFLY_HOME>/bin/jboss-cli.bat and run the following command:

        [standalone@localhost:9990 /] deploy <WAR>
  9. Browse to http://localhost:8080/ (adjust the port if needed). If the following message appears, then the application was installed correctly:

...