documentation:software:webapi:webapi_installation_guide
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:software:webapi:webapi_installation_guide [2016/08/26 15:06] – [Errors when calling sources URL] jhardin | documentation:software:webapi:webapi_installation_guide [2019/04/19 16:23] (current) – anthonysena | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | =====WebAPI Installation Guide ===== | + | |
| - | ---- | + | ===== IMPORTANT NOTE ===== |
| + | |||
| + | All WebAPI documentation has moved to [[https:// | ||
| + | |||
| + | ===== WebAPI Installation Guide (LEGACY) | ||
| ==== Overview ==== | ==== Overview ==== | ||
| Line 13: | Line 17: | ||
| === MS SQL Server === | === MS SQL Server === | ||
| ---- | ---- | ||
| - | Coming Soon. | + | |
| + | Please refer to the [[documentation: | ||
| === PostgreSQL 9.3 === | === PostgreSQL 9.3 === | ||
| ---- | ---- | ||
| - | Please refer to the [[https:// | + | Please refer to the [[documentation:software: |
| Line 24: | Line 29: | ||
| ---- | ---- | ||
| - | Please refer to the [[https:// | + | Please refer to the [[documentation:software: |
| Line 49: | Line 54: | ||
| === Microsoft SQL Server === | === Microsoft SQL Server === | ||
| - | Coming Soon. | + | **Create settings.xml File** |
| + | |||
| + | Specify user name, password, and location of the OHDSI database (this was created as ‘ohdsi_app_user’ from the [[documentation: | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | Note: this file above is saved as / | ||
| + | |||
| + | **Download the appropriate JDBC driver** | ||
| + | |||
| + | For SQL Server, the driver is available from the Maven repository, so no additional steps are required. | ||
| === PostgreSQL === | === PostgreSQL === | ||
| **Create settings.xml File** | **Create settings.xml File** | ||
| - | Specify user name, password, and location of the OHDSI schema (this was created as ‘webapi’ from the [[https:// | + | Specify user name, password, and location of the OHDSI schema (this was created as ‘webapi’ from the [[documentation:software: |
| Here is an example XML that is based on the above configuration: | Here is an example XML that is based on the above configuration: | ||
| Line 73: | Line 117: | ||
| < | < | ||
| < | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| </ | </ | ||
| </ | </ | ||
| Line 86: | Line 140: | ||
| === Oracle === | === Oracle === | ||
| **Create settings.xml File** | **Create settings.xml File** | ||
| - | Specify user name, password, and location of the OHDSI schema (this was created as ‘ohdsi’ | + | Specify user name, password, and location of the OHDSI schema (this was created as ‘ohdsi’ |
| Here is an example XML that is based on the above configuration: | Here is an example XML that is based on the above configuration: | ||
| Line 104: | Line 158: | ||
| < | < | ||
| < | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| </ | </ | ||
| </ | </ | ||
| Line 120: | Line 184: | ||
| ==== Building the .war file ==== | ==== Building the .war file ==== | ||
| - | Open command prompt, go to WebAPI folder, type | + | Open command prompt, |
| - | set JAVA_HOME=C:/ | + | set JAVA_HOME=C:/ |
| //Make sure you point to a JDK, not a JRE. It is probably a good idea to stick to the same Java version that is running Tomcat// | //Make sure you point to a JDK, not a JRE. It is probably a good idea to stick to the same Java version that is running Tomcat// | ||
| - | mvn clean package -s /WebAPIConfig/ | + | mvn clean package |
| This will create the file WebAPI.war in the target subfolder. | This will create the file WebAPI.war in the target subfolder. | ||
| Line 133: | Line 197: | ||
| === Deploy the war file === | === Deploy the war file === | ||
| ---- | ---- | ||
| - | In Tomcat (e.g. using the manager app), deploy the war file. | + | |
| + | In Tomcat, you will need to increase the maximum file size allowed for WAR files. Go to webapps/ | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | In Tomcat (e.g. using the manager app), deploy the war file. | ||
| + | |||
| This should automatically create a large number of tables in the webapi schema. | This should automatically create a large number of tables in the webapi schema. | ||
documentation/software/webapi/webapi_installation_guide.1472223975.txt.gz · Last modified: by jhardin
