The deployment process at this stage of the installation will install the full i2b2 war file on the Wildfly Web Server. This page discuss the new "build war from source" method. To obtain and install a pre-compiled version, see the overview page "server install on 1.7.12 and higher".
Deploy edu.harvard.i2b2.server-common
The following steps will walk you through the deployment process. The commands on a Windows Server may differ slightly on a Unix Machine. This difference will be noted when appropriate.
The first step in the cell configuration process is to change your working directory to the location of your edu.harvard.i2b2.pm folder. Important The change directory command shown above is written for Windows. The command itself is the same for both Linux and Windows with the only exceptions being the slashes in the path name and Linux does not include the "drive".Step 1: Change working directory
EXAMPLES:
Step 2: Build the i2b2.war file
The second step in the deployment process is to run the Ant script to deploy edu.harvard.i2b2.server-common.
Select the command line that is appropriate for your environment.
Note
If the command %ANT_HOME% does not work it may be because you did not set your environment variables as suggested in the Requirements Chapter. If you do not wish to set this variable then you will need to replace %ANT_HOME% with the full path to your Ant directory.
Provided there were no problems running the script you will see Build Successful when the script finishes.
Step 3: Deploy the war file in Wildfly
You will need to manually copy the war file from the dist folder to /opt/wildfly-VERSION-Final/standalone/deployments/