Sources & binaries

Gazelle Transformation Service is an open-source project under Apache License Version 2.0 ( Sources are available via Subversion at

Gazelle Transformation Service installation and configuration

Jboss 8 installation

It is necessary to have a jboss8 server. Make sure to read carefully the general considerations for JBoss8

Jboss 8 configuration

  1. Create the directory ‘/usr/local/jboss8/modules/org/postgresql/main’

  2. Add the following ‘module.xml’ file in ‘/usr/local/jboss8/modules/org/postgresql/main’ directory:

<?xml version="1.0" ?>
<module xmlns="urn:jboss:module:1.1" name="org.postgresql">
       <resource-root path="postgresql-42.2.1.jar"/>
       <module name="javax.api"/>
       <module name="javax.transaction.api"/>
  1. Download the postgresql driver from:
wget -nv -O /tmp/postgresql-9.4.1212.jar
sudo mv /tmp/postgresql-9.4.1212.jar /usr/local/jboss8/modules/org/postgresql/main
  1. Edit /usr/local/jboss8/standalone/configuration/standalone.xml In , add the following in :
  <driver name="postgresql" module="org.postgresql">

Mojarra installation

  1. Download the mojarra cli from:
wget -nv -O /tmp/install-mojarra-2.1.19.cli
  1. Start the Jboss 8 server:
sudo /etc/init.d/jboss8 start
  1. To install Mojarra, it is necessary to know the port of the management interface of the Jboss server. To determine the port, type the following command:
sudo grep "Http management interface listening on http" /usr/local/jboss8/standalone/log/server.log

And get the port (here: 10490):

2017-08-23 12:32:24,351 INFO  [] (Controller Boot Thread) JBAS015961: Http management interface listening on

Now, set the port for controller argument and execute the following command:

sudo /usr/local/jboss8/bin/ --connect --controller= --command="deploy install-mojarra-2.1.19.cli"

The CLI archive will install mojarra packages in :


Database configuration

Create ‘transformation’ database

Type the following command to create the ‘transformation’ database:

createdb -U gazelle -E UTF8 transformation

Import the database schema and initiate the date

  1. Download the sql scripts from the latest version of Gazelle Transformation Service ( :;quick~transformation-ear

  2. Unzip the file

  3. Type this command to import the schema:

psql -U gazelle transformation < schema.sql
  1. Type this command to initiate data:
psql -U gazelle transformation < init.sql

Daffodil environment configuration

The DFDL file which are referenced in the database are stored in the following directory on your environment in ‘/opt/DaffodilTransformation/dfdl/’.

Type the following commands:

mkdir -p /opt/DaffodilTransformation/dfdl/
sudo chown -R jboss:jboss-admin /opt/DaffodilTransformation/
sudo chmod -R 755 /opt/DaffodilTransformation/

Deploy the application

  1. Download the .ear from the latest version of the tool (transformation-ear-X.X.X.ear):;quick~transformation-ear
sudo wget -nv -O /tmp/transformation-ear-X.X.X.ear
  1. WARNING : From version 2.1.0, datasources have been extracted from the ear. The template file can be found in /src/main/application/datasource in the sources or in the file from the nexus. For more informations about how to manage that externalization, please refer to general considerations for JBoss7.

Datasource name : transformationDS

Database name : transformation

  1. Move the .ear to Jboss 8 server deployment folder:
sudo mv /tmp/transformation-ear-X.X.X.ear /usr/local/jboss8/standalone/deployments/transformation.ear

Wait until the application has been completly deployed:

sudo ls /usr/local/jboss8/standalone/deployments/

And make sure to have the .ear of deployed:


Logs can be viewed here:

tail -f /var/log/jboss8/server.log

Migration from a previous version

If an old version of Gazelle Transformation Service was already installed (< 2.0.0), jboss8 need to be modified before deploying the application :

  1. Edit to /usr/local/jboss8/standalone/configuration/standalone.xml

  2. Remove in <subsystem xmlns="urn:jboss:domain:datasources:2.0"> the following lines ```xml

jdbc:postgresql://db/daffodil-transformation-dev postgres gazelle gazelle org.postgresql.Driver
and replace by
                    <driver name="postgresql" module="org.postgresql">

Remove the following lines too

<default-bindings context-service="java:jboss/ee/concurrency/context/default" datasource="java:jboss/datasources/ExampleDS" jms-connection-factory="java:jboss/DefaultJMSConnectionFactory" managed-executor-service="java:jboss/ee/concurrency/executor/default" managed-scheduled-executor-service="java:jboss/ee/concurrency/scheduler/default" managed-thread-factory="java:jboss/ee/concurrency/factory/default"/>
  1. Edit /usr/local/jboss8//standalone/configuration/standalone.xml and replace ```xml
<subsystem xmlns="urn:jboss:domain:weld:2.0"/>
  1. Edit the following ‘module.xml’ file in ‘/usr/local/jboss8/modules/org/postgres/main’ directory:
<?xml version="1.0" ?>
<module xmlns="urn:jboss:module:1.1" name="org.postgresql">
       <resource-root path="postgresql-42.2.1.jar"/>
       <module name="javax.api"/>
       <module name="javax.transaction.api"/>
  1. Rename the directory :
    mv /usr/local/jboss8/modules/org/postgres/ /usr/local/jboss8/modules/org/postgresql/
  2. Download the postgresql driver from:
wget -nv -O /tmp/postgresql-42.2.1.jar
sudo mv /tmp/postgresql-9.4.1212.jar /usr/local/jboss8/modules/org/postgresql/main
  1. Delete the old postgresql driver (postgresql-9.4.1212.jar).

Application configuration

Use the Administration menu, you will find a sub-menu entitled “Configure application preferences”. The following preferences must be updated according to the configuration of your system. The table below summarizes the variables used by the Gazelle Transformation Service tool.

variable description default value
application_admin_email Email of the administrator of the tool
application_admin_name Administrator’s name Eric Poiseau
application_admin_title Administrator’s function Application Administrator
application_name Name of the application to display on the home page Gazelle Transformation
application_release_notes_url URL to the release note of the tool
application_url Complete URL of the tool http://localhost:8580/transformation
application_url_basename URL first resource to reach the tool /transformation
application_works_without_cas Enable/disable CAS login true
bin_path File system path used by Gazelle Transformation /opt/DaffodilTransformation/dfdl
cas_url URL of the Central Authentication Service
documentation_url URL of the documentation
ip_login Enable/disable IP filtering for admin login (works only if CAS login disabled) false
ip_login_admin Regular expresion for filtering IPs .*
NUMBER_OF_ITEMS_PER_PAGE Number of rows displayed by table pagination 20
time_zone Time Zone for display Europe/Paris