Deploying Web Author in WildFly
The following procedure is an example for a deployment of Oxygen XML Web Author in WildFly:
- Download WildFly version 16.0.0.Final at: http://wildfly.org/downloads/ (ZIP for Windows / TGZ for Linux).
- Extract the contents of the downloaded archive into a folder.
- Open a command-line interface and go to that folder, then wildfly/bin.
- Run the add-user.bat (add-user.sh in Linux)
executable from a command line.
- Create a Management User.
- Create an Application User and when asked
What groups do you want this user to belong to?, enter:
[admin]: "admin"
- 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
- Go to http://localhost:8080, then the Administration Console.
- Under Deployments, go to .
- 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