Edit online

Deploying Web Author in WildFly

The following procedure is an example for a deployment of Oxygen XML Web Author in WildFly:

  1. Download WildFly version 16.0.0.Final at: http://wildfly.org/downloads/ (ZIP for Windows / TGZ for Linux).
  2. Extract the contents of the downloaded archive into a folder.
  3. Open a command-line interface and go to that folder, then wildfly/bin.
  4. Run the add-user.bat (add-user.sh in Linux) executable from a command line.
    1. Create a Management User.
    2. Create an Application User and when asked What groups do you want this user to belong to?, enter:
      [admin]: "admin"
  5. Run the standalone.bat (standalone.sh in Linux) executable from a command line and include the -Dee8.preview.mode=true system property. For example:
    ./standalone.sh -Dee8.preview.mode=true
  6. Go to http://localhost:9990/console/index.html.
  7. Under Deployments, go to Deploy an Application > Start.
  8. Click Add, Upload a new deployment, and upload the Web Author WAR file.

Result: Oxygen XML Web Author is deployed at: localhost:8080.

Tip: When a plugin is uploaded in the Administration Page, the plugin must be sent to WildFly with HTTP Post and, by default, the maximum file size cannot exceed 10 MB. Thus, WildFly will stop the process for plugins that exceed that limit. As a solution, you can disable the maximum post size limit by setting the max-post-size parameter to 0. Use the command-line interface to run the wildfly\bin\jboss-cli.bat (wildfly\bin\jboss-cli.sh in Linux) executable, then enter the following commands:
connect
/subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=max-post-size,value=0)

Stopping the Server

To stop the server, do one of the following:
  • Stop it from the Administration Console.
  • Use the command-line interface to run the wildfly\bin\jboss-cli.bat (wildfly\bin\jboss-cli.sh in Linux) executable, then enter the following commands:
    connect
    shutdown