Page tree
Skip to end of metadata
Go to start of metadata

This is the home of the OpenATNA space.

To help you on your way, we've inserted some of our favourite macros on this home page. As you start creating pages, blogging and commenting you'll see the macros below fill up with all the activity in your space.

Recently Updated

Installing OpenATNA

Step 1. Setting up mysql users and db

Create a user with username 'openatna' and host 'localhost' identified by pass 'openatna'*

mysql -u root -p
create user 'openatna'@'localhost' identified by 'openatna';

Create new db with name 'openatna'*

create database openatna default character set = utf8;

Granting all priviledges to user 'openatna' on 'openatna' db* 

grant all on openatna.* to 'openatna'@'localhost' identified by 'openatna';

Important - After deploying OpenATNA, please check if your 'messages' table has a field 'messageContent' with type 'blob' and allows 'NULL'. If not, you have to run this script in order to have the messages displayer in OpenATNA Viewer:


alter messages change messageContent messageContent blob null;


Step 2. Building openatna component

Checking out the openatna component source using git URI:

Building openatna using maven

cd /path/to/openatna/folder
mvn clean install (-P all|service|web)

The compiled WAR archive (in folder openatna/web/target/epsos-openatna-all.war) contains OpenATNA service and Log Viewer. It is also possible to compile a war which has only the other component. The profiles that can be used are: all (default), service and web. The compiled war with all-profile has both OpenATNA service and OpenATNA Log Viewer; if compiled with profile service, the war contains only the OpenATNA Service; if compiled with profile web, the war contains only the Log Viewer.

Step 3. Configuration

Modifying actors properties within file /opt/openncp/openatna/


# IHE actor configuration directory

Modifying mysql properties within file /opt/openncp/openatna/
# mySQL 5


OpenATNA uses property with name scheduled.time.between.failed.logs.handling.minutes in ConfigurationManager database to define the interval in which OpenATNA checks if some audit log was not persisted. In case these logs are found, they will be attempted to re-persist. The default value is 60 (minutes).

Step 4. Installing the certificates into OpenATNA server

Firstly modify the file /opt/openncp/openatna/conf/ArrConnections.xml

<!-- Trust and Keystore -->


Step 5. Deploying OpenATNA

Deploy the compiled WAR archive on Tomcat server and OpenATNA AuditService and logViewer should be running.


Configure epsos properties to write test audits

TEST_AUDITS_PATH=<path to be extracted the audits>



Navigate space



  1. If anyone plans to deploy openatna with mysql database he has to manually run the following script (after automatically creating database on openatna startup)

    alter messages change messageContent messageContent blob;


  2. I think the right SQL command should be:

    alter table messages modify messageContent blob;


    alter table messages add messageContent blob null;