Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
|
1. Setup
...
application server
The software components are able to run on all Java application servers, we recommend you to install them at an Apache Tomcat instance.
...
To perform the installation of the server you may also follow this instructions: http://tomcat.apache.org/tomcat-7.0-doc/setup.html (For Apache Tomcat 7.0)
2. Obtain artifacts
In order to install OpenNCP, you must obtain the following artifacts (Please use the last versions for each component):
- TRC-STS (War): https://joinup.ec.europa.eu/nexus/content/repositories/releases/eu/europa/ec/joinup/ecc/epsos.TRC-STS/
- TSL-Sync (War): https://joinup.ec.europa.eu/nexus/content/repositories/releases/eu/europa/ec/joinup/ecc/epsos-tslutils/epsos-tsl-sync/
- TSAM-Sync (Jar): https://joinup.ec.europa.eu/nexus/content/repositories/releases/eu/europa/ec/joinup/ecc/epsos-tsam-sync/
- Server Side - NCP-A (War): https://joinup.ec.europa.eu/nexus/content/repositories/releases/eu/europa/ec/joinup/ecc/epsos-protocol-terminators/epsos-ncp-server/epsos-ws-server/
- Client Side - NCP-B (War): https://joinup.ec.europa.eu/nexus/content/repositories/releases/eu/europa/ec/joinup/ecc/epsos-protocol-terminators/epsos-ncp-client/epsos-client-connector/
- OpenATNA (Jar): http://code.google.com/p/epsos-common-components/source/checkout?repo=openatna (OpenNCP custom version)
- Portal (War): https://joinup.ec.europa.eu/nexus/content/repositories/releases/eu/europa/ec/joinup/ecc/openncp-portal/
...
Tip |
---|
This tool will execute every 5 seconds, you can adjust this time by editing this file, present at the deploy dir: <application server root>/webapps/epsos-tsl-sync/WEB-INF/classes/quartz_data.xml |
4.3 TSAM-Sync
The TSAM-Sync component will connect to HealthTerm repository to fetch your country terminologies and load them in your LTR database.
This application is a standalone jar that can be placed in custom location, together with a required group of folders.
For instance:
Code Block |
---|
tam-sync-custom-location |-- conf | |-- epsos.properties | |-- hibernate.cfg.xml | |-- log4j.xml | |-- logging.properties | +-- settings.properties |-- lib | +-- jdbc-connector.jar |-- tsam-sync.jar +-- sync.sh |
...
When you have set up the folder structure you should download the jar from the repository mentioned in step 2 and place it at the folder root - also you may adjust the sync.sh script to match the jar name.
Tip |
---|
If you do not have the LTR database already, you can just create it in the same way you create the properties database. Then adjust the TSAM-Sync configuration, present in the conf folder and run the jar. It will create your tables and fill the database with the terminologies. |
You can download the folder contents here:
...