Beginning in i2b2 1.7.12, server installation is dramatically simplified. There are now two ways to install:
Quick Install
The quick install is a fully packaged and compiled version of i2b2, complete with Wildfly and all other necessary server components. Download it from the i2b2 software page. Then,
- Install Java 8 if you missed this step earlier. (see chapter 2.4.1)
- Copy the entire wildfly-17.0.1.Final folder to your /opt folder.
- Linux: cp –r wildfly-17.0.1.Final /opt
- Windows: xcopy /E wildfly-17.0.1.Final C:\opt
- Modify the datasource files for each cell (see subsections on configuring each cell).
Build from source
Developers will want to build i2b2 from source code. Although the legacy documentation for building each cell separately is still available in other sections of this chapter, the process for building a complete war file has been dramatically simplified.
- Build the war from source.
- Change directory into the edu.harvard.i2b2.server-common folder.
- Run the ant build command
ant clean dist war
- Copy the i2b2.war from the dist folder to /opt/wildfly-VERSION-Final/standalone/deployments/ .
- Modify the datasource files for each cell (see subsections on configuring each cell).
After the build is complete, Wildfly should be started and installation verified. The subsections in this chapter give further details on these steps.