NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{scrollbar:icons=false}

Page info
title
title

Section
Column
Panel
titleContents of this Page
Table of Contents
minLevel2
Column
Align
alignright
Include Page
Menu LexEVS 6.x Installation to Include
Menu LexEVS 6.x Installation to Include

The URI Resolver Service comes with a set of default configurations that can allow for easy setup. Customization for various database configurations and file systems is possible.

Prerequisites

  • MySQL 5.5
  • Maven 3.0.x
  • Tomcat 7.x
  • Git 1.9.x
  • Java 1.7

Build Instructions

Clone the URI Resolver project using:

Code Block
git clone https://github.com/NCIP/URI_Resolver.git

Change to the URI_Resolver directory:

Code Block
cd URI_Resolver

Change to the appropriate version:

6.1 branch:

Code Block
languagetext
git checkout tags/qa_v0.0.1.rc8.05.2013

 

6.2 branch:

Code Block
languagetext
git checkout tags/v1.0.0.FINAL

 

6.3 branch:

Code Block
languagetext
git checkout tags/v1.0.0.FINAL

 

6.4 branch:

Code Block
languagetext
git checkout tags/v1.0.0.FINAL

 

Build the application with Maven:

Code Block
mvn clean install
Info

This application can be built and run in Java 1.6 by changing the Java source and target values from 1.7 to 1.6 in the pom.xml file.

If the build is successful, the resulting war file will be in the target directory.

Default Installation

Default installations of the war file can be handled as detailed at Installing the URI Resolver

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

Custom Installation Options

Data Base

Custom data base configurations are handled in the preceding link.

Properties File Path

Build Time Property File Path Instructions

Paths to property files are hard coded in the Beans.xml file located in the src/main/resource folder.

Users can replace all instances of the variable

Code Block
#{ systemProperties['user.home']}

value with any custom file path desired, then build the Resolver as detailed at Installing the URI Resolver.

Deployment Time Property File Path Instructions

Otherwise, users can add a property to the Tomcat start up script such as 

Code Block
 -Duser.home=/my/custom/path

 and do so at deployment time. 

This can be done by adding this value to the setenv.sh script in the Tomcat root/bin directory. If no such file exists, one can be created.

Wiki Markup
{scrollbar:icons=false}